[R] Changing Colors

Lars Peters Lars.Peters at uni-konstanz.de
Wed Dec 3 14:09:33 CET 2003


Hello,

I've got a big problem. I'm using R for geostatistical analyses, especially
the field-package.
I try to generate plots after the kriging process with help of
image.plot(..., col=terrain.colors, ...). Everything works fine, but I want
to reverse the color-palettes (heat.colors, topo.colors or gray()) to get
darkest colors at highest data-values instead the other way round.

Could anyone give me hints or some syntax to resolve that problem??


Thanks and best regards,

Lars Peters


-----
Lars Peters

University of Konstanz
Limnological Institute
D-78457 Konstanz
Germany

phone: +49 (0)7531 88-2930
fax:   +49 (0)7531 88-3533
e-mail: Lars.Peters at Uni-Konstanz.de
http://www.uni-konstanz.de/sfb454/tp_eng/A1/doc/peters/peters.html
http://www.uni-konstanz.de/sfb454/tp_eng/A1/index.htm




More information about the R-help mailing list