MATLAB: How do we display an image without using axis in matlab or any other option in GUIDE

guiguideimage processingImage Processing Toolbox

I am working on some image processing stuff. I am displaying more then 2 pictures at same time using axes(handles.name).. one axes is controlled through loop. when I select 2nd axis then loop start pointing on that axes. Is there any other technique that is feasible to use for displaying images.

Best Answer

That is the best method. For some functions you can pass in the axes but if you don't do it for all, then you will get unexpected results. For example
axes(handles.axes1);
imshow(grayImage, 'Parent', handles.axes2); % Display in axes2, NOT axes1.
title('The Image');
The title will be put atop axes1, not axes2 despite the fact that you just put an image into axes2.
Related Question