[R] Colors in barplot

Nutter, Benjamin NutterB at ccf.org
Thu Dec 4 13:32:56 CET 2008


I believe the defaults in barplot are found using
grey.colors{GrDevices}.

?grey.colors

(For some reason my machine won't pull up the help files for grey.colors
from the command line, but I can still access it through the html help).

-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org]
On Behalf Of Antje
Sent: Thursday, December 04, 2008 6:32 AM
To: r-help at stat.math.ethz.ch
Subject: [R] Colors in barplot

Hello,

Can anybody help me to find out which colors are used automatically when

calling barplot (e.g. 3 series beside each other will get different gray
values).
I want to apply a legend but I don't know the colors used...

Antje

______________________________________________
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.


===================================

P Please consider the environment before printing this e-mail

Cleveland Clinic is ranked one of the top hospitals
in America by U.S. News & World Report (2008).  
Visit us online at http://www.clevelandclinic.org for
a complete listing of our services, staff and
locations.


Confidentiality Note:  This message is intended for use\...{{dropped:13}}



More information about the R-help mailing list