[R] barplot, different color for shading lines and bar

Jannis bt_jannis at yahoo.de
Mon Feb 21 00:36:08 CET 2011


The easiest solution may be using par(new=TRUE) and to overlay a 
coloured barplot with a separate shaded barplot....


HTH
Jannis
On 02/19/2011 10:58 PM, Markus Loecher wrote:
> Dear all,
> might there be a modified barplot function out there which allows the user
> to specify a fill color for the bars and independent parameters for the
> overlaid shading lines ?
> Currently, when I specify density and col, the fill color for the bars is
> white.
>
> Thanks!
>
> Markus
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> 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