For heatmap, thisc command would work:
'ColorLimits',[50 100]
but it did not work for imagesc.

 채택된 답변

Akira Agata
Akira Agata 2020년 7월 8일

2 개 추천

You can do that task by setting CLim of the axes, like:
figure
imagesc(rand(4));
ax = gca;
ax.CLim = [0 1];
colorbar

추가 답변 (0개)

카테고리

도움말 센터File 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