panel_border: Add/remove the panel border in a ggplot2 plot

Description Usage Arguments

Description

This function provides a simple way to modify the panel border in ggplot2. It doesn't do anything that can't be done just the same with theme(). However, it saves some typing.

Usage

1
2
panel_border(colour = "gray80", size = 0.5, linetype = 1,
  remove = FALSE)

Arguments

colour

The color of the border.

size

Size.

linetype

Line type.

remove

If TRUE, removes the current panel border.



Search within the cowplot package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.