Re: [R] how to avoid grid overlapping in a boxplot

2012-03-22 Thread Rui Barradas
Hello, Michael Weylandt wrote > > It's a bit of a hack, but you could just redraw the boxplot on top of > the grid lines: > > x <- rnorm(50) > boxplot(x) > grid() > boxplot(x, add = TRUE) > > Michael > > > On Thu, Mar 22, 2012 at 12:08 PM, maxbre wrote: >> Given the follow

Re: [R] how to avoid grid overlapping in a boxplot

2012-03-22 Thread R. Michael Weylandt
It's a bit of a hack, but you could just redraw the boxplot on top of the grid lines: x <- rnorm(50) boxplot(x) grid() boxplot(x, add = TRUE) Michael On Thu, Mar 22, 2012 at 12:08 PM, maxbre wrote: > Given the following chart: i.e. a boxplot with a grid > > boxplot(x~y) > grid(nx=NA,ny=NULL) >

Re: [R] how to avoid grid overlapping in a boxplot

2012-03-22 Thread Sarah Goslee
On Thu, Mar 22, 2012 at 12:08 PM, maxbre wrote: > Given the following chart: i.e. a boxplot with a grid > > boxplot(x~y) > grid(nx=NA,ny=NULL) > > my question: how to avoid the overlapping of boxes (and whiskers) by grid > lines? Don't draw a grid? Put the lines somewhere else? > thank you for