PlotParam: Set graphical parameters

Description Usage Arguments Note Author(s) Examples

Description

PlotParam can be used to set graphical parameters for a pdf file or the default screen device.

Usage

1
PlotParam(pdf.name, pdf.param, par.param)

Arguments

pdf.name

A name of a pdf file.

pdf.param

A list of parameters that define pdf graphics device. See pdf.

par.param

A list of parameters that define graphcial parameters. See par.

Note

The PlotParam function is designed to restore graphical parameters par to the default values after execution.

Author(s)

Alexey Pronin [email protected], Ning Leng [email protected]

Examples

1
2
3
4
5
6
pdf.param = list(height=5)
par.param = list(mar=c(4, 4, 3, 2))
pdf.name = NULL
PlotParam(pdf.name, pdf.param, par.param)
hist(rnorm(1000), col="blue")
PlotParam()

lengning/gClinBiomarker documentation built on May 9, 2019, 2:55 p.m.