[R] colors and palettes and things...

Tuszynski, Jaroslaw W. JAROSLAW.W.TUSZYNSKI at saic.com
Mon May 23 17:56:15 CEST 2005


Colors predefined in R follow closely colors predefined in in HTML language.
See:
http://users.rcn.com/giant.interport/COLOR/1ColorSpecifier.html 
http://www.brobstsystems.com/colors1.htm
http://www.geocities.com/html4kids/colors.htm 
And probably countless other websites defining them.

Jarek
====================================================\=======

 Jarek Tuszynski, PhD.                           o / \ 
 Science Applications International Corporation  <\__,|  
 (703) 676-4192                                   ">   \
 Jaroslaw.W.Tuszynski at saic.com                     `    \


-----Original Message-----
From: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Jeff D. Hamann
Sent: Monday, May 23, 2005 11:35 AM
To: r-help at stat.math.ethz.ch
Subject: [R] colors and palettes and things... 

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 at forestinformatics.com
www.forestinformatics.com

______________________________________________
R-help at 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




More information about the R-help mailing list