How display images on the same Axis

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)

Asked:

on 30 Nov 2016

Edited:

on 30 Nov 2016

Community Treasure Hunt

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

Start Hunting!