axis automatically resize to image
Show older comments
How to I make my axis automatically resize to fit any image? I am building a GUI
4 Comments
Mehmed Saad
on 7 May 2020
Using guide or app designer?
robert arnold
on 7 May 2020
robert arnold
on 7 May 2020
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)
Categories
Find more on Graphics Object Properties in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!