
Heat Map Cell values display
20 ビュー (過去 30 日間)
古いコメントを表示
I noticed the cell values are displayed with arbitrary size and with 'normal' fontweight.
I wonder whether one can choose, the font, and fontweight for the diplayed values on each cell.
0 件のコメント
採用された回答
Adam Danz
2021 年 3 月 3 日
編集済み: Adam Danz
2021 年 3 月 3 日
The imagesc demo in this answer produces a plot nearly identical to a heatmap and the last line allows you for format the cell labels.
Example of setting cell labels (adaptation of the last line from that answer),
th = text(xTxt(:), yTxt(:), labels(:), ...
'VerticalAlignment', 'middle','HorizontalAlignment','Center',...
'FontSize', 12, 'FontWeight','bold','Color','g');

0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Data Distribution Plots についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!