How to open image in a new window if it is bigger than my axes in Matlab Gui

9 views (last 30 days)
Ivan Perez
Ivan Perez on 2 May 2020
Answered: Sai Sri Pathuri on 5 May 2020
my image is larger than the space allocated for the axes, i want two additional full-size figure windows showing the before and after images created please help really new to matlab.

Answers (1)

Sai Sri Pathuri
Sai Sri Pathuri on 5 May 2020
You may add figure command before displaying the images.
figure
% code to display the first image
imshow(image1)
figure
% code to display the second image
imshow(image2)

Community Treasure Hunt

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

Start Hunting!