Re: [R] Bar chart: break long bars

2011-10-25 Thread Jim Lemon
On 10/25/2011 09:27 PM, Florian Weiler wrote: Dear all, I have a problem with my stacked bar charts. I have one very long bar, hence I would like to break the x-axis at a certain point so that the shorter bars can be seen better. Here is a cooked up example: library(lattice) group<- rep(1:3,10)

[R] Bar chart: break long bars

2011-10-25 Thread Florian Weiler
Dear all, I have a problem with my stacked bar charts. I have one very long bar, hence I would like to break the x-axis at a certain point so that the shorter bars can be seen better. Here is a cooked up example: library(lattice) group <- rep(1:3,10) x <- runif(30, 0, 100) y <- runif(30, 0, 100)