Hi! I am trying to display images in two panels. I made push button and two panels with axes in it So this is my code:
[filename,pathname]=uigetfile({'*.*'},'Select file'); Filename=fullfile(pathname,filename);var=strcat(pathname,filename);ORI_IMG=imread(var);axis(handles.axes1);imshow(ORI_IMG);title('original image');
but this display image in panel two. Is there any way I can choose in which panel I want to display my image?
Best Answer