How to show an image or a plot in a different window from my gui?

21 views (last 30 days)
Sagi
Sagi on 16 Oct 2014
Commented: Haroon Younas on 10 May 2016
In my gui, I got axes1 with an image that i select from a pop up menu.next I have 2 buttons, that by pressing on them I want that each of them will show an image or a plot in a different window. how can I achieve it?

Accepted Answer

David Sanchez
David Sanchez on 16 Oct 2014
call a different figure before presenting the image:
figure, image(your_image)
or
figure, plot(your_data)

More Answers (0)

Community Treasure Hunt

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

Start Hunting!