[R] barplot with both color and shading
R. Michael Weylandt
michael.weylandt at gmail.com
Wed Feb 22 03:49:52 CET 2012
This seems like a natural fit for ggplot2 graphics, but I'm not aware
of shading as a widely implemented graphical element: this might have
some useful information --
http://had.co.nz/ggplot2/geom_histogram.html
Can you find an example of "shading" in R? (perhaps in the R Graphics
Gallery) If you look at example(barplot) there's an example of how to
use different line patterns, but I don't find it particularly clear.
The grouping techniques seem much clearer to me.
Michael
On Tue, Feb 21, 2012 at 5:24 PM, Shi, Tao <shidaxia at yahoo.com> wrote:
> Hi list,
>
> I want to draw a bar plot with color indicating one grouping and different shading on top of the color indicating another grouping. How should I proceed?
>
> Thanks!
>
> ...Tao
>
>
> ______________________________________________
> 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