par: Set or Query Graphical Parameters

View source: R/par.R

parR Documentation

Set or Query Graphical Parameters

Description

par can be used to set or query graphical parameters. Parameters can be set by specifying them as arguments to par in tag = value form, or by passing them as a list of tagged values. See par for more details.

Usage

par(object, ...)

Arguments

object

gsplot object

...

Further graphical parameters may also be supplied as arguments. See par

See Also

par

Examples

gs2 <- gsplot(new=TRUE,mar=c(5,4,1,2)) %>%
  points(1, 2) %>%
  background_color(col="white") 
gs2

gs2 <- gsplot(new=TRUE, cex=1.2) %>%
  points(1, 2) %>%
  background_color(col="white") %>%
  par(new=FALSE, mar=c(5,4,3,3), cex=2.1) 
gs2

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