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!