Re: [R] ggplot2: remove minor-horizontal guide before drawing

2008-08-14 Thread hadley wickham
Hi Paul, Unfortunately, the book is a bit ahead of the current version of ggplot2 code, and it's a bit of pain to do in the 0.6 code. Your best bet is to have a look at grid.grab to capture the grob before it is drawn. In the development version the new theming support lets completely turn off m

[R] ggplot2: remove minor-horizontal guide before drawing

2008-08-14 Thread Paul Emberson
Hi, I want to remove minor-horizontal and minor-vertical lines from a plot generated with ggplot2. I can do this after the plot has been drawn using grid.gremove. However, I would like to do it before drawing my plot. The ggplot2 book refers to a ggplotGrob function which creates a grob fr