How can I make heatmap scale fixed?

20 ビュー (過去 30 日間)
Mateusz Lewandowski
Mateusz Lewandowski 2023 年 5 月 6 日
Hi,
So I need to do some heatmaps for similiar, but different matrixes. As you can see below, the scale is moving values with colors, I would like to set fixed scale from 0 to 1000 even though some values may be be maximum ~800 (just like on second heatmap).
How can I make constant scale for every heatmap I generate?
Many thanks for help!

採用された回答

Jeff Miller
Jeff Miller 2023 年 5 月 6 日
e.g.,
h1 = heatmap();
h1.ColorLimits = [0 1000];
  1 件のコメント
Mateusz Lewandowski
Mateusz Lewandowski 2023 年 5 月 6 日
Thank you!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeData Distribution Plots についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by