[R] Overlaying Barplots

2005-06-08 Thread Sven C. Koehler
Hello! I would like to overlay barplot(1:10) with a barplot(seq(1:5, each=2)), indicating that 50% of each bar belongs to category X. How do I do this in R? Best wishes, Sven C. Koehler __ R-help@stat.math.ethz.ch mailing list

Re: [R] Overlaying Barplots

2005-06-08 Thread Martyn Plummer
On Wed, 2005-06-08 at 12:07 +0200, Sven C. Koehler wrote: Hello! I would like to overlay barplot(1:10) with a barplot(seq(1:5, each=2)), indicating that 50% of each bar belongs to category X. How do I do this in R? If you pass a matrix to barplot, it will stack values from the same column