Skip to content
Back to formatted view

Raw Message

Message-ID: <1264530941161-1305413.post@n4.nabble.com>
Date: 2010-01-26T18:35:41Z
From: Dieter Menne
Subject: heatmap.2 color range
In-Reply-To: <1264519655901-1293498.post@n4.nabble.com>

evgeny55 wrote:
> 
> I'm trying to create a heatmap with color ranges for different values in
> my matrix. For example:
> If  x > 5 , use orange gradient
> if  x < 1.5, use red gradient
> .....
> 
> Right now I have the following:
> orgPal<-brewer.pal(3,"Oranges")
> bluPal<-brewer.pal(3,"Blues")
> redPal<-brewer.pal(3,"Reds")
> 
> 

I often use larger palettes (brewer.pal(7,...)) and remove the middle range.

Dieter


-- 
View this message in context: http://n4.nabble.com/heatmap-2-color-range-tp1293498p1305413.html
Sent from the R help mailing list archive at Nabble.com.