Skip to content
Prev 207612 / 398502 Next

heatmap.2 color range

as a followup, I tried using the rainbow function to create the gradients but
is there a way to do a "reverse" rainbow, ie. normally if I do: 

pie(rep(1,6), col=rainbow(6,start=0, end=.07))

I'll get a gradient from dark red to orangish but what if I want it to go
the other way

thanks