Maintain image aspect ratio on figure resize
Mostra commenti meno recenti
Hello!
I am working with a fairly complex GUI which has a logo in the upper left hand corner. Currently when the figure is resized, the image resize in direct proportion to the figure. As a result you can make really mess up aspect ratio. I tried disable stretch-to-fill, but it didn't seem to work.
Any ideas?
Thanks in advance!
Risposta accettata
Più risposte (1)
Walter Roberson
il 31 Mag 2011
0 voti
Do not use normalized units to position the image -- or if you must use normalized units for the original positioning, change to absolute units afterwards.
Categorie
Scopri di più su Display Image in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!