Display values on heatmap plot - they disappear as the plot shrinks
古いコメントを表示
I am trying to make a heatmap where the values of the cells are displayed as well, not only the color. Now this basically works - however, as soon as I shrink the figure, the numbers disappear and I am left with colourful but empty cells. I guess this has to do with the text size, but how can I adapt that one?
This is the example code (just a simple heat map):
heatmap(dfd_ptp, 'Colormap', jet, 'ColorbarVisible', 'on', 'XLabel', 'Time', 'YLabel', monthstr)
採用された回答
その他の回答 (2 件)
Walter Roberson
2018 年 2 月 1 日
0 投票
You could try specifying the FontSize property
2 件のコメント
Stefanie Aebi
2018 年 2 月 1 日
編集済み: Stefanie Aebi
2018 年 2 月 1 日
Walter Roberson
2018 年 2 月 1 日
Not that I know of.
Farid Samara
2020 年 10 月 23 日
0 投票
I am trying to use heatmap to plots tables in matlab. I really like the idea of being able to visualize the numbers. But it is also very important to me to show the numbers. Is is possible to should the cell numbers vertically? That could also make a huge difference?
Is there another function I could use to visualize tables?
Thanks
Farid
カテゴリ
ヘルプ センター および File Exchange で Data Distribution Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!