Natural colours for topographic data
On Mon, 23 Nov 2009 12:21:03 -0500 David Winsemius
<dwinsemius at comcast.net> wrote:
I would be happy with a simple one, that just mapped negative values to water colours and positive values to land colours.
Searching with the strategy "color positive negative zero" in r-search and limiting it to r-help replies, I get this Jim Lemon reply using (naturally) plotrix's color.scale: http://finzi.psych.upenn.edu/R/Rhelp02/archive/90837.html The application to your needs looks pretty immediate.
Thanks for the suggestion, but the arguments that 'color.scale' takes (range of red, green and blue values) makes it not very useful for this purpose.
Karl Ove Hufthammer