How to fit the axes with the native resolution of the image?
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
John Doe
am 18 Mai 2020
Kommentiert: John Doe
am 18 Mai 2020
Hello everyone. I have a GUI where I am loading an image into the axes. I want the axes to wrap around the loaded image's native resolution, much like a MATLAB figure window would do.
How can I do that? Thanks in advance.
0 Kommentare
Akzeptierte Antwort
Image Analyst
am 18 Mai 2020
truesize
Adjust display size of image
Syntax
Description
truesize(fig,[mrows ncols]) adjusts the display size of an image in a figure, fig, to the dimensions [mrows ncols], in pixels.
Also, see attached demo on zooming.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Image Processing Toolbox finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!