Be the first to rate this file! 47 downloads (last 30 days) File Size: 5.71 KB File ID: #24253

Customizable Heat Maps

by Ameya Deoras

 

24 May 2009

Code covered by BSD License  

Display matrices as heat maps with full control over a number of visualization properties

Download Now | Watch this File

File Information
Description

HEATMAP displays a matrix as an image whose color intensities reflect the magnitude of its values. In addition, it enables you to specify the following properties:

* X- and Y-axes tick labels:
Display the row/column indices or any other numerical or text information. For example, the Y-tick labels could display the mean of each row in the matrix.

* Text labels:
Display formatted numerical values in the original matrix, a new matrix for added dimensionality or a matrix of strings. Control the font size and font color of the labels.

* Custom color maps:
Use MATLAB's default color maps or specify your own. The function provides two additional color maps - "money" (shown in the example image) and "red" (a color map of red color intensities). Specify Linear or Logarithmic color maps and the number of color levels. You can even use different color maps for different heat maps within a figure.

* Other configurable parameters such as grid lines, color bars.

Acknowledgements
This submission has inspired the following:
An Introduction to Dataset Arrays, An Introduction to Dataset Arrays
MATLAB release MATLAB 7.8 (R2009a)
Zip File Content  
Other Files heatmap.m,
heatmap_examples.m,
license.txt
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
visualization Ameya Deoras 02 Jun 2009 13:50:52
heat map Ameya Deoras 02 Jun 2009 13:50:52
color map Ameya Deoras 02 Jun 2009 13:50:52
 

MATLAB Central Terms of Use

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 Terms prior to use.

Contact us at files@mathworks.com