How to change color bar limits in imagesc?
77 ビュー (過去 30 日間)
古いコメントを表示
Zeynab Mousavikhamene
2020 年 7 月 7 日
コメント済み: Zeynab Mousavikhamene
2020 年 7 月 8 日
For heatmap, thisc command would work:
'ColorLimits',[50 100]
but it did not work for imagesc.
0 件のコメント
採用された回答
Akira Agata
2020 年 7 月 8 日
You can do that task by setting CLim of the axes, like:
figure
imagesc(rand(4));
ax = gca;
ax.CLim = [0 1];
colorbar
その他の回答 (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!