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:
Dear list members,
I am plotting the result of a kriging with spplot and I would like to
reverse the colors in the heat.colors palette for the col.regions argument.
In other words I want the red colors to represent higher values than the
yellow colors to represent temperature.
Best,
Manuel
--
Manuel Sp?nola, Ph.D.
Instituto Internacional en Conservaci?n y Manejo de Vida Silvestre
Universidad Nacional
Apartado 1350-3000
Heredia
COSTA RICA
mspinola at una.ac.cr
mspinola10 at gmail.com
Tel?fono: (506) 2277-3598
Fax: (506) 2237-7036