How can I flip the axis when plotting with IMAGESC?
10 次查看(过去 30 天)
显示 更早的评论
For example:
load clown
imagesc(X)
colormap(map)
Instead of the y-axis increasing from top to bottom, I would like to have it decreasing from top to bottom.
采纳的回答
MathWorks Support Team
2010-7-29
After displaying an image with the IMAGESC function, you can change the axis so it is decreasing from top to bottom. For example,
load clown
X = flipud(X);
imagesc(X)
colormap(map)
axis('xy')
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 3-D Volumetric Image Processing 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!