Skip to content
Prev 9281 / 29559 Next

Inverting the scale in heat.colors

use colorampPalette(). You can define your own colors in any order.
something as in :

plot(1:10,1,col= colorRampPalette(c("blue", "red"))(10)

hope it helps

Caspar
On Sun, Sep 12, 2010 at 3:05 PM, Manuel Sp?nola <mspinola10 at gmail.com> wrote: