File: resetPar.Rd

package info (click to toggle)
r-cran-ddalpha 1.3.11-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,656 kB
  • sloc: cpp: 3,556; fortran: 886; ansic: 159; makefile: 2
file content (30 lines) | stat: -rw-r--r-- 566 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
\name{resetPar}
\alias{resetPar}
\title{
Reset Graphical Parameters
}
\description{
The function returns the default graphical parameters for \code{\link{par}}.
}
\usage{
resetPar()
}
\details{
The returned parameters are used as input parameters for \code{\link{par}}.
}
\value{
The list of graphical parameters described in the 'Graphical Parameters' section of \code{\link{par}}.
}
\examples{

par(mfrow = c(1,2), mar = c(2,2,2,2))
plot(sin, -pi, 2*pi)
plot(cos, -pi, 2*pi)

par(resetPar())
plot(sin, -pi, 2*pi)
plot(cos, -pi, 2*pi)

}

\keyword{ visualization }