R/blank_x_axis.R

Defines functions blank_x_axis

Documented in blank_x_axis

#' @title Blank X-axis
#'
#' @description Remove the X axis and all markings from the plot
#'
#' @export
blank_x_axis = function(...)  {
  dots = list(...)
  do.call(theme, c(list(axis.title.x = element_blank(),
                        axis.text.x = element_blank(),
                        axis.ticks.x = element_blank()),
                   dots))
}
Prometheus77/ggez documentation built on Aug. 2, 2019, 7:58 p.m.