[R] rainbow function

Richard.Cotton at hsl.gov.uk Richard.Cotton at hsl.gov.uk
Mon Jan 7 11:10:28 CET 2008


> I'm using rainbow function to generate 10 colors for the plot and it is
> difficult to tell the neighboring colors from each other. How can I make
> the colors more differently.

Using 10 colours is always going to be difficult, but take a look at 
ColorBrewer 
(http://www.personal.psu.edu/cab38/ColorBrewer/ColorBrewer.html), and the 
associated R package RColorBrewer.

Regards,
Richie.

Mathematical Sciences Unit
HSL


------------------------------------------------------------------------
ATTENTION:

This message contains privileged and confidential inform...{{dropped:20}}




More information about the R-help mailing list