Info

この質問は閉じられています。 編集または回答するには再度開いてください。

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

1 回表示 (過去 30 日間)
daniel
daniel 2014 年 5 月 11 日
閉鎖済み: Azzi Abdelmalek 2014 年 5 月 11 日
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 件のコメント
Image Analyst
Image Analyst 2014 年 5 月 11 日
What is different about this discussion from the one you posted an hour prior with the same subject line?

回答 (0 件)

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by