File Exchange Pick of the Week

Our best user submissions

Heat maps in MATLAB 4

Posted by Doug Hull,

Here at The MathWorks we are always concerned with useful ways of displaying data. A heat map is a graphical representation of data where the values taken by a variable in a two-dimensional map are represented as colors. This is something that is natural for an image, and indeed we have had that in IMTOOL for quite sometime now.


This week’s pick shows how to make a heat map in MATLAB for your own data. This heat map will scale nicely so that the text is always the right size.


Comments are closed.

4 CommentsOldest to Newest

Doug replied on : 2 of 4

I have found that the more data visualizations I know, the more likely I am to “need” them. Glad this new trick helped.


JerBen replied on : 3 of 4

Hi Doug,

Love the blog and videos. It really helps to see someone else using matlab.

If you are looking for some great insight into ways to visualize data: check out Tutfe: His books and seminar are excellent.


Doug replied on : 4 of 4


We are very familiar with Tufte here at the MathWorks, many of us go to his excellent one day seminar when he come to Boston on tour. His three major books are on my bookshelf right in front of me.