[R] adjusting color palette

Uwe Ligges ligges at statistik.uni-dortmund.de
Mon Jun 14 14:27:24 CEST 2004

Laura Quinn wrote:

> Is there a way to increase the "sensitivity" of the color palette in order
> to more clearly represent certain sections of data? For example I am
> wanting to clearly differentiate between height data for a rolling
> landscape but because of the extremes of the dataset (sea and mountain
> tops), the bulk of the landscape is shaded in closely approximating green
> - i have attempted to do this by using a larger color palette but this
> doesn't make things any clearer.
> Thanks
> Laura

See ?hsv.
If you need more sophisticated stuff, you might want to try out the 
package "RColorBrewer".

Uwe Ligges

More information about the R-help mailing list