one image multiple axes (GUI)

2 visualizaciones (últimos 30 días)
Akmal Rahmat
Akmal Rahmat el 18 de Oct. de 2014
Comentada: Akmal Rahmat el 19 de Oct. de 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

Respuesta aceptada

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

Iniciar sesión para comentar.

Más respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by