These are convenience wrappers for editing ggplot2::theme()
's
panel.grid.major
and panel.grid.minor
parameters with sensible
defaults.
add_gridlines(x = TRUE, y = TRUE, minor = TRUE)add_x_gridlines(minor = TRUE)
add_y_gridlines(minor = TRUE)
drop_gridlines(x = TRUE, y = TRUE, minor.only = FALSE)
drop_x_gridlines(minor.only = FALSE)
drop_y_gridlines(minor.only = FALSE)
Apply changes to the x axis?
Apply changes to the y axis?
Add minor gridlines in addition to major?
Remove only the minor gridlines?