Markus Loecher
2011-Feb-19 21:58 UTC
[R] barplot, different color for shading lines and bar
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]]
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. >