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

3 次查看(过去 30 天)
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.

回答(1 个)

Sai Sri Pathuri
Sai Sri Pathuri 2020-5-5
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!

Translated by