R/plot-helper.r

Defines functions set_envelope_legend_position

############################################################################
# Plotting.
############################################################################

# Inner function for setting the position of the legend for 1d envelope plots
#' @importFrom ggplot2 theme
#' @importFrom ggplot2 element_blank
set_envelope_legend_position <- function() {
  theme(legend.position = 'bottom', legend.key.height = grid::unit(0, "inches"))
}

Try the GET package in your browser

Any scripts or data that you put into this service are public.

GET documentation built on Sept. 29, 2023, 5:06 p.m.