Heat Maps with Text

Heat maps with numeric values overlayed

您现在正在关注此提交

编者注: This was a File Exchange Pick of the Week

A number of people have asked me whether MATLAB can add text to heatmaps to show the exact values. This is very easy to do, however, making a the text robust to resizing, zooming and other operations is a little trickier.
This example shows how to add text to the heatmap and also includes an M-file that shows how to handle zooming and resizing.

引用格式

Robert Henson (2026). Heat Maps with Text (https://ww2.mathworks.cn/matlabcentral/fileexchange/15877-heat-maps-with-text), MATLAB Central File Exchange. 检索时间: .

致谢

启发作品: scattertext

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
1.1.0.1

Updated license

1.1.0.0

Added BSD license

1.0.0.0