Re: [R] colors and palettes and things...

From: John Maindonald <john.maindonald_at_anu.edu.au>
Date: Thu 26 May 2005 - 22:43:34 EST

The DAAG package has the following:

   show.colors(type=c("singles", "shades", "grayshades"), order.cols=TRUE)

I am sure there are better ways to do the ordering than my ad hoc approach,
though.

John Maindonald email: john.maindonald@anu.edu.au phone : +61 2 (6125)3473 fax : +61 2(6125)5549 Centre for Bioinformation Science, Room 1194, John Dedman Mathematical Sciences Building (Building 27) Australian National University, Canberra ACT 0200.

On 24 May 2005, at 11:04 AM, r-help-request@stat.math.ethz.ch wrote:

> From: "Jeff D. Hamann" <jeff.hamann@forestinformatics.com>
> Date: 23 May 2005 4:35:27 PM
> To: r-help@stat.math.ethz.ch
> Subject: [R] colors and palettes and things...
> Reply-To: jeff.hamann@forestinformatics.com
>
>
> After trying to find if there was a color picker in the FAQs and the
> help,
> I thought I would send a post here. I was overwhelmed with all the
> wonderful color choices R has predefined (discovered after typing in
> colors()) but can't figure out what they all (by name) look like. Is
> there
> a color picker or some other method to display all those colors next to
> the name?
>
> I think I can put together palettes, but another question I have then
> regards the building of palettes (a list of variable length I can
> select
> or create myself other than the ones defined by Palette) so I can pass
> these colors into functions instead of having to predefine a bunch of
> colors myself or use the predefined colors like terrain.colors(n)?
>
> Are there groups of colors in the colors() that I can group together to
> make some nice palettes for drawing barplots, etc?
>
> Thanks,
> Jeff.
>
>
> --
> Jeff D. Hamann
> Forest Informatics, Inc.
> PO Box 1421
> Corvallis, Oregon 97339-1421
> phone 541-754-1428
> fax 541-752-0288
> jeff.hamann@forestinformatics.com
> www.forestinformatics.com



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu May 26 22:50:22 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:32:07 EST