File: panel_border.Rd

package info (click to toggle)
r-cran-cowplot 1.1.3%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,564 kB
  • sloc: sh: 13; makefile: 5
file content (23 lines) | stat: -rw-r--r-- 733 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/themes.R
\name{panel_border}
\alias{panel_border}
\title{Add/remove the panel border in a ggplot2 plot}
\usage{
panel_border(color = "grey85", size = 1, linetype = 1, remove = FALSE, colour)
}
\arguments{
\item{color, colour}{The color of the border.}

\item{size}{Size. Needs to be twice as large as desired outcome when panel clipping
is on (the default).}

\item{linetype}{Line type.}

\item{remove}{If \code{TRUE}, removes the current panel border.}
}
\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 \code{theme()}. However, it
saves some typing.
}