Heat Maps with Text
Note de l’éditeur : 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.
Citation pour cette source
Robert Henson (2026). Heat Maps with Text (https://fr.mathworks.com/matlabcentral/fileexchange/15877-heat-maps-with-text), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
- MATLAB > Graphics > Labels and Styling > Color and Styling > Green >
Tags
Remerciements
A inspiré : scattertext
Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
html/
| Version | Publié le | Notes de version | |
|---|---|---|---|
| 1.1.0.1 | Updated license |
||
| 1.1.0.0 | Added BSD license |
||
| 1.0.0.0 |
