How to see values in heatmap when we use subplot

조회 수: 6 (최근 30일)
NA
NA 2021년 7월 5일
답변: Chunru 2021년 7월 5일
I have heatmap like this
subplot(2,2,1);
a=rand(9);
k=heatmap(a);
subplot(2,2,2);
a=rand(9);
k=heatmap(a);
subplot(2,2,3);
a=rand(9);
k=heatmap(a);
I want to see values of each box in the plot.

채택된 답변

Chunru
Chunru 2021년 7월 5일
Either increase the figure size or reduce the font size, or both:
figure('Position', [0 0 1024 768]);
subplot(2,2,1);
a=rand(9);
k=heatmap(a);
k.FontSize =2;

추가 답변 (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