Add and remove gridlines
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)
x |
Apply changes to the x axis? |
y |
Apply changes to the y axis? |
minor |
Add minor gridlines in addition to major? |
minor.only |
Remove only the minor gridlines? |
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.