Re: [R] barplot: segment-wise shading

2014-01-17 Thread Marc Schwartz
On Jan 16, 2014, at 9:09 PM, Martin Weiser wrote: > Jim Lemon píše v Pá 17. 01. 2014 v 13:21 +1100: >> On 01/17/2014 10:59 AM, Marc Schwartz wrote: >>> >>> ... >>> Arggh. >>> >>> No, this is my error for not actually looking at the plot and presuming >>> that it would work. >>> >>> Turns out

Re: [R] barplot: segment-wise shading

2014-01-16 Thread Martin Weiser
Jim Lemon píše v Pá 17. 01. 2014 v 13:21 +1100: > On 01/17/2014 10:59 AM, Marc Schwartz wrote: > > > > ... > > Arggh. > > > > No, this is my error for not actually looking at the plot and presuming > > that it would work. > > > > Turns out that it does work for a non-stacked barplot: > > > >ba

Re: [R] barplot: segment-wise shading

2014-01-16 Thread Jim Lemon
On 01/17/2014 10:59 AM, Marc Schwartz wrote: ... Arggh. No, this is my error for not actually looking at the plot and presuming that it would work. Turns out that it does work for a non-stacked barplot: barplot(VADeaths, angle = 1:20 * 10, density = 10, beside = TRUE) However, internally

Re: [R] barplot: segment-wise shading

2014-01-16 Thread Marc Schwartz
On Jan 16, 2014, at 5:03 PM, Martin Weiser wrote: > Marc Schwartz píše v Čt 16. 01. 2014 v 16:46 -0600: >> On Jan 16, 2014, at 12:45 PM, Martin Weiser wrote: >> >>> Dear listers, >>> >>> I would like to make stacked barplot, and to be able to define shading >>> (density or angle) segment-wise

Re: [R] barplot: segment-wise shading

2014-01-16 Thread Martin Weiser
Marc Schwartz píše v Čt 16. 01. 2014 v 16:46 -0600: > On Jan 16, 2014, at 12:45 PM, Martin Weiser wrote: > > > Dear listers, > > > > I would like to make stacked barplot, and to be able to define shading > > (density or angle) segment-wise, i.e. NOT like here: > > # Bar shading example > > b

Re: [R] barplot: segment-wise shading

2014-01-16 Thread Marc Schwartz
On Jan 16, 2014, at 12:45 PM, Martin Weiser wrote: > Dear listers, > > I would like to make stacked barplot, and to be able to define shading > (density or angle) segment-wise, i.e. NOT like here: > # Bar shading example > barplot(VADeaths, angle = 15+10*1:5, density = 20, col = "black", >

[R] barplot: segment-wise shading

2014-01-16 Thread Martin Weiser
Dear listers, I would like to make stacked barplot, and to be able to define shading (density or angle) segment-wise, i.e. NOT like here: # Bar shading example barplot(VADeaths, angle = 15+10*1:5, density = 20, col = "black", legend = rownames(VADeaths)) The example has 5 diffe