How to plot a picture in squared sized using imagesc?
100 次查看(过去 30 天)
显示 更早的评论
Hi there, i'm using imagesc to plot a colormap, in which the x/y data are equal in size, but when I plot it using imagesc, the output picture is always a rectangle rather than a square, I wonder how can I solve this problem,many thanks a lot!
0 个评论
采纳的回答
Image Analyst
2016-9-25
Try different axes options until you get what you like, like
axis square;
axis equal;
axis image;
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!