Heat Maps with Text
Nota dell'editore: 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.
Cita come
Robert Henson (2024). Heat Maps with Text (https://www.mathworks.com/matlabcentral/fileexchange/15877-heat-maps-with-text), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxCategorie
- MATLAB > Graphics > Formatting and Annotation > Colormaps > Green >
Tag
Riconoscimenti
Ispirato: scattertext
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.