Re: [R] rainbow function

From: <>
Date: Mon, 7 Jan 2008 10:10:28 +0000

> 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
(, and the associated R package RColorBrewer.


Mathematical Sciences Unit

ATTENTION: This message contains privileged and confidential inform...{{dropped:20}} mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Mon 07 Jan 2008 - 10:13:23 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 07 Jan 2008 - 10:30:05 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive