View Single Post
Old 08-22-2013, 01:00 PM   #1
crazyhottommy
Senior Member
 
Location: Gainesville

Join Date: Apr 2012
Posts: 140
Default map colour to values in heatmap

Hi all,

I am plotting a matrix to heatmap by heatmap.2.
my matrix data contain many 0s, and some other value range from 0 to 10
I want all the value below 0 and including 0 represent by white, positive values be represent gradient from white to red.

Any ideas how to do it

Thanks.
crazyhottommy is offline   Reply With Quote