[R] Barplot and colors for legend

From: Werner Wernersen <pensterfuzzer_at_yahoo.de>
Date: Tue 19 Apr 2005 - 00:37:06 EST

Hi all!

One quick question: How do I get the standard colors used by barplot? I have
some stacked bars and would like to add a horizontal legend via legend() but I
don't know how to find the colors for the fills of the legend points.



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 Tue Apr 19 00:42:52 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:15 EST