Re: [R] barplot with both color and shading

2012-02-22 Thread Shi, Tao
Thank you both, Michael and Jim, for the answers! - Original Message - > From: Michael Bibo > To: r-h...@stat.math.ethz.ch > Cc: > Sent: Wednesday, February 22, 2012 12:46 AM > Subject: Re: [R] barplot with both color and shading > > Shi, Tao yahoo.com> wr

Re: [R] barplot with both color and shading

2012-02-22 Thread Michael Bibo
Shi, Tao yahoo.com> writes: > > 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 > > Does this help? http://finzi.psych.upenn.edu/Rhelp10/2010-Sep

Re: [R] barplot with both color and shading

2012-02-21 Thread Jim Lemon
On 02/22/2012 09:24 AM, Shi, Tao 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? Hi Tao, You can build a barplot with the rectFill function (plotrix), but it is not a ma

Re: [R] barplot with both color and shading

2012-02-21 Thread Shi, Tao
tempt: barplot(1:10, angle=20, density=c(0,20), col=rep(0:1, each=5)) ...Tao - Original Message - > From: R. Michael Weylandt > To: "Shi, Tao" > Cc: "r-help@r-project.org" > Sent: Tuesday, February 21, 2012 6:49 PM > Subject: Re: [R] barplot with both

Re: [R] barplot with both color and shading

2012-02-21 Thread R. Michael Weylandt
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

[R] barplot with both color and shading

2012-02-21 Thread Shi, Tao
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@r-project.org mailing list https://stat.ethz.ch/mailman/list