one image multiple axes (GUI)

2 visualizzazioni (ultimi 30 giorni)
Akmal Rahmat
Akmal Rahmat il 18 Ott 2014
Commentato: Akmal Rahmat il 19 Ott 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

Risposta accettata

Image Analyst
Image Analyst il 18 Ott 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 Commenti
Image Analyst
Image Analyst il 18 Ott 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 il 19 Ott 2014
typing error sir. i'm sorry. thank you for your help sir.

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by