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

Paul Emberson email at calidasoft.co.uk
Thu Aug 14 15:31:35 CEST 2008


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 from a plot but 
this function doesn't seem to exist in ggplot2 0.6.

Is there another way to do it?

Regards,

Paul



More information about the R-help mailing list