DSPRelated.com
Forums

Reg. Matlab 7 axes to view images

Started by avinash_uv October 11, 2006
I designed a GUI with Guide... Placed a axes in it named 'axes1'...
I have a few buttons and edit boxes also on the GUI.

The program in the .m file for the GUI needs to display a jpg image in
that axes1. The below code works for Matlab 6. But no longer for
Matlab7 .

axes(handles.axes1);
imshow('image.jpg');
set(handles.axes1,'MinorTick','on');

Is there anything wrong in the above way of setting the required axes
in which the output should show up. The image occupies the entire GUI
when the above is used in Matlab 7. Please let me know if anyone has
dealt with displaying images in GUIs or with other similar problems.