R/theme_all_grey.R

Defines functions theme_all_grey

Documented in theme_all_grey

#' theme_all_grey()
#'
#' A theme with all grey panel and plot background with thick grey grid lines, designed for simple scatter plots.
#'
#' @return
#' @export
#'
#' @examples
theme_all_grey <- function() {
  theme(
    plot.background = element_rect(fill = "grey90"),
    panel.background = element_rect(fill = "grey90"),
    panel.grid = element_line(color = "gray10")
  )
}
alexclippinger/pastafish documentation built on Dec. 19, 2021, 12:32 a.m.