one image multiple axes (GUI)

조회 수: 2 (최근 30일)
Akmal Rahmat
Akmal Rahmat 2014년 10월 18일
댓글: Akmal Rahmat 2014년 10월 19일
First of all sorry for my english. I have a problem with GUI. I'm really new in matlab. My problem is i have one radio button which when i click it. image will show on two axes on the same time. How i want to do that ?
axes(handles.axes2); .
this code will show only on axes 2. how to do when i want it show on TWO AXES in the SAME TIME ? already try with this one.
axes(handles.axes2 && handles.axes4); or
axes(handles.axes2 & axes4)
but it never work

채택된 답변

Image Analyst
Image Analyst 2014년 10월 18일
% Display image in axes2
axes(handles.axes2);
imshow(image2);
% Switch axes to axes4 and display an image there.
% You could display image2 again if you want image2 in both axes.
axes(handles.axes4);
imshow(image4);
  댓글 수: 3
Image Analyst
Image Analyst 2014년 10월 18일
I don't understand. It DOES show in both axes - axes1 and axes2. Why do you think it does not?
% Display image2 in both axes2 and axes4.
axes(handles.axes2);
imshow(image2);
% Switch axes to axes4 and display the image there.
axes(handles.axes4);
imshow(image2);
Akmal Rahmat
Akmal Rahmat 2014년 10월 19일
typing error sir. i'm sorry. thank you for your help sir.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by