How can I make heatmap scale fixed?

조회 수: 21 (최근 30일)
Mateusz Lewandowski
Mateusz Lewandowski 2023년 5월 6일
댓글: 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];

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Data Distribution Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by