modify_par: modify par for global, side, or view

View source: R/modify_par.R

modify_parR Documentation

modify par for global, side, or view

Description

modify par for global, side, or view

Usage

modify_par(object, arguments, field = "global")

Arguments

object

a gsplot object

arguments

settings for par

field

where to modify par. A view name, a side name, or 'global'

Value

a modified gsplot object

Examples

gs <- gsplot()
gs <- gsplot:::modify_par(gs, list(new=TRUE, cex=1.2))
names(gs$global$par)
gs <- gsplot:::modify_par(gs, list(new=TRUE, cex=1.4, omi=c(0,0,0,0)))
names(gs$global$par)

USGS-R/gsplot documentation built on April 17, 2023, 8:45 p.m.