R/plot_outline.R

Defines functions plot_outline

Documented in plot_outline

#' plot_outline
#'
#' Creates a frame for plots.
#'
#' Specifies the frame for plots created by ototools.
#' @export
#'

plot_outline <- function(){
  ggplot2::theme(
    axis.text.x      = ggplot2::element_text(size = 12, colour = "black"),
    axis.text.y      = ggplot2::element_text(size = 12, colour = "black"),
    axis.line        = ggplot2::element_line(colour = "black"),
    panel.grid       = ggplot2::element_blank(),
    panel.border     = ggplot2::element_rect(fill = NA, colour = "black"),
    panel.background = ggplot2::element_blank(),
    panel.grid.minor = ggplot2::element_blank(),
    panel.grid.major = ggplot2::element_line(colour = RColorBrewer::brewer.pal(3, "Greys")[1]))
}
reneplonus/ototools documentation built on May 3, 2019, 4:05 p.m.