imshow - Stretching image to fill axis
Show older comments
I'm trying to display an image on an axis within a GUI. I'm using the imshow function, but it keeps the dimension ratio of the image. I would like to stretch the image, ignoring the dimension ratio, to fill the axis. Any suggestions?
Thanks, Matt
Accepted Answer
More Answers (1)
Jurgen
on 13 Jan 2013
0 votes
Have you tried image or imagesc? Or the 'axis image' command?
Categories
Find more on Contrast Adjustment in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!