one image multiple axes (GUI)

1 次查看(过去 30 天)
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