imshow - Stretching image to fill axis
显示 更早的评论
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
采纳的回答
更多回答(1 个)
Jurgen
2013-1-13
0 个投票
Have you tried image or imagesc? Or the 'axis image' command?
类别
在 帮助中心 和 File Exchange 中查找有关 Images 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!