How to show a image in axes without change its size?
10 次查看(过去 30 天)
显示 更早的评论
Hello,
I'm trying to show a image in axes using the imshow. But, when i did it, the axes upload and the size change. I want to know how i can show a image without resize the axes. I want the image be showed in the center of axes.
0 个评论
采纳的回答
更多回答(1 个)
Walter Roberson
2019-3-28
image() or imagesc() instead of using imshow() .
If you are using a grayscale or pseudocolor image you might need to call colormap() after image()
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Processing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!