resetPar: Reset Graphical Parameters

View source: R/routines.r

resetParR Documentation

Reset Graphical Parameters

Description

The function returns the default graphical parameters for par.

Usage

resetPar()

Details

The returned parameters are used as input parameters for par.

Value

The list of graphical parameters described in the 'Graphical Parameters' section of 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)


ddalpha documentation built on Oct. 1, 2024, 1:07 a.m.