How do I make heatmap axes order from bottom-top?
9 ビュー (過去 30 日間)
古いコメントを表示
I am struggling with making heatmap order from bottom to top.
Snapshot is what I have currently, but I want to flip the plot order.
Thank you
0 件のコメント
回答 (1 件)
Daniel M
2019 年 10 月 17 日
x = magic(10);
figure
imagesc(x) % notice the y-axis goes from 10-1 from bottom to top
set(gca,'YDir','normal') % now it is reversed!
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Data Distribution Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!