Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

attempt to change the axis of an axes limits remove the original image

1 visualizzazione (ultimi 30 giorni)
Hello, I created GUI with several axis and pushing buttons. I loaded binary image to specific axes (let call it axes1). now i would like to change the image axis so it will be tight on the image and than plot on the image afterwards.
now i've been noticed that if i tried to change the image axis the image remove (the axes area turns gray). this is my code:
axes(handles.axes1)
imageAxes1 = imshow(temp_struct.binary_image);
axis([xmin xmax ymin ymax]);
hold on
and from some reason it doesn't work. there are any specific rule for changing axis in GUI? by the way i am using the guide for building the gui.
Thanks.
  1 Commento
Image Analyst
Image Analyst il 11 Mag 2014
What is different about this discussion from the one you posted an hour prior with the same subject line?

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by