5.0

5.0 | 1 rating Rate this file 164 downloads (last 30 days) File Size: 45.29 KB File ID: #15877

Heat Maps with Text

by Robert Henson

 

09 Aug 2007 (Updated 09 Aug 2007)

Heat maps with numeric values overlayed

Editor's Notes:

This was a File Exchange Pick of the Week

Download Now | Watch this File

File Information
Description

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.

MATLAB release MATLAB 7.4 (R2007a)
Other requirements This was created with R2007a but should run with version back to R14.
Zip File Content  
Published M Files Annotated Heat Maps
Other Files heatmapdemo.m,
heatmaptext.m,
html/heatmapdemo_01.png,
html/heatmapdemo_02.png,
html/heatmapdemo_03.png,
html/heatmapdemo_04.png,
html/heatmapdemo_05.png,
html/heatmapdemo_06.png,
html/heatmapdemo_07.png,
html/heatmapdemo.png
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
17 Aug 2007 Dimitri Shvorob Useful, instructive, and nicely presented.
Please login to add a comment or rating.

Public Submission Policy

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Disclaimer prior to use.

Contact us at files@mathworks.com