one image multiple axes (GUI)

1 view (last 30 days)
Akmal Rahmat
Akmal Rahmat on 18 Oct 2014
Commented: Akmal Rahmat on 19 Oct 2014
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

Accepted Answer

Image Analyst
Image Analyst on 18 Oct 2014
% 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 Comments
Image Analyst
Image Analyst on 18 Oct 2014
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 on 19 Oct 2014
typing error sir. i'm sorry. thank you for your help sir.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!