R/theme-bordersontop.R

Defines functions theme_bordersonbottom theme_bordersontop

Documented in theme_bordersonbottom theme_bordersontop

#' Render Borders on Top
#' 
#' Convenience functions to render the axis border lines on top (or bottom) of the other layers. 
#' By default the borders are rendered in the background (bottom)
#' @author Nicholas Hamilton
#' @rdname theme_bordersontop
#' @export
theme_bordersontop = function(){
  tern_dep("2.1.2","theme_bordersontop() has been merged with theme_gridsontop()")
  #theme(tern.axis.line.ontop=TRUE)
  theme_gridsontop()
}

#' @rdname theme_bordersontop
#' @export
theme_bordersonbottom = function(){
  tern_dep("2.1.2","theme_bordersonbottom() has been merged with theme_gridsonbottom()")
  #theme(tern.axis.line.ontop=FALSE)
  theme_gridsonbottom()
}

Try the ggtern package in your browser

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

ggtern documentation built on June 22, 2024, 11:01 a.m.