File: plot_bg.Rd

package info (click to toggle)
r-cran-plotrix 3.8-4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,588 kB
  • sloc: makefile: 6
file content (18 lines) | stat: -rwxr-xr-x 512 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
\name{plot_bg}
\alias{plot_bg}
\title{ Add a background color to a plot }
\description{Displays a colored rectangle over the entire area of a plot}
\usage{plot_bg(col="lightgray")}
\arguments{
 \item{col}{The color of the background}
}
\details{
 \samp{plot_bg} is probably only useful when part of the \samp{do.first}
 argument in another plot function to add a background color to the plot.
}
\value{nil}
\author{Jim Lemon}
\examples{
 barp(1:5,do.first="plot_bg()",col=1:5)
}
\keyword{misc}