axis automatically resize to image
5 views (last 30 days)
Show older comments
How to I make my axis automatically resize to fit any image? I am building a GUI
4 Comments
Image Analyst
on 7 May 2020
The size of your axes control on your GUI does adjust it's size somewhat in response to the image you put into it, while maintaining the aspect ratio and zooming it as much as it can while showing the entire image with the original aspect ratio. If you don't want that, and want to zoom further, see attached demo.
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!