Others have shown how to create your own palette, which is good general information. But for your case you may be able to simply use the rev function with heat.colors.
-- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare greg.s...@imail.org 801.408.8111 > -----Original Message----- > From: r-sig-geo-boun...@stat.math.ethz.ch [mailto:r-sig-geo- > boun...@stat.math.ethz.ch] On Behalf Of Manuel Spínola > Sent: Sunday, September 12, 2010 7:05 AM > To: r-sig-geo@stat.math.ethz.ch > Subject: [R-sig-Geo] Inverting the scale in heat.colors > > 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 > mspin...@una.ac.cr > mspinol...@gmail.com > Teléfono: (506) 2277-3598 > Fax: (506) 2237-7036 > > _______________________________________________ > R-sig-Geo mailing list > R-sig-Geo@stat.math.ethz.ch > https://stat.ethz.ch/mailman/listinfo/r-sig-geo _______________________________________________ R-sig-Geo mailing list R-sig-Geo@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo