How to see values in heatmap when we use subplot

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 日

0 投票

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 件)

カテゴリ

ヘルプ センター および File ExchangeData Distribution Plots についてさらに検索

質問済み:

NA
2021 年 7 月 5 日

回答済み:

2021 年 7 月 5 日

Community Treasure Hunt

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

Start Hunting!

Translated by