How display images on the same Axis

1 view (last 30 days)
Samah EL QASSAH
Samah EL QASSAH on 30 Nov 2016
Edited: Samah EL QASSAH on 30 Nov 2016
Hi!
I have a GUI that allow me to view my images on an axis according to conditions.
The code that insert the image in the axis is below:
axes(handles.axes_image);
img = imread('image\Name_Image.png');
image(img);
axis(handles.axes_image, 'image', 'off');
The initial image is displayed after execution but the other images are displayed on another figure and not on the axis that I have defined.
How can I solve this?
Do I need to update my GUI every time and if so how?

Answers (0)

Categories

Find more on Images in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!