Re: [R] alternatives to RColorBrewer?

From: Achim Zeileis <Achim.Zeileis_at_wu-wien.ac.at>
Date: Thu, 24 Apr 2008 20:15:06 +0200 (CEST)


On Thu, 24 Apr 2008, Andrew Yee wrote:

> I've found RColorBrewer useful for its qualitative palettes, but wished that
> it could generate more than 12 qualitative palettes (e.g. with Set3). Any
> suggestions for alternative color palette generators that can handle e.g. 18
> distinctive colors? (I'm aware of using rainbow(), but this doesn't
> generate enough distinct colors when the number of palettes is large).

Package "vcd" implements several palette generators in HCL space which are somewhat similar to the palettes in ColorBrewer but provide some more flexibility. The underlying ideas are explained here   http://epub.wu-wien.ac.at/dyn/openURL?id=oai:epub.wu-wien.ac.at:epub-wu-01_c87 See also help("rainbow_hcl", package = "vcd") which has a few more examples. However, I guess that it will be hard to select a qualitative palette with 18 distinct colors...I couldn't imagine a plot where it would be sufficiently easy for humans to decode that. But maybe you can combine that with some sequential or diverging palette or so?

Best,
Z

> Thanks,
> Andrew
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help_at_r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
>



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Thu 24 Apr 2008 - 19:04:15 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 Thu 24 Apr 2008 - 20:31:05 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive