[R] Colors in barplot
Antje
niederlein-rstat at yahoo.de
Thu Dec 4 15:00:25 CET 2008
Hi Benjamin,
thanks for the hint.
In barplot.default I found "grey.colors(nrow(height))" :-)
(I had the same problem with the help file for grey.colors)
Ciao,
Antje
Nutter, Benjamin schrieb:
> 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}}
>
> ______________________________________________
> 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.
>
More information about the R-help
mailing list