parset: parset alters the current base graphics par settings
Description
parset alters the current base graphics par settings
to suit a single standard plot. It is merely here to simplify
and speed the coding for exploratory base graphics. The font
and its size default to 0.85 and font 7 (Times bold). The
default values can be seen by typing parset with no brackets in
the console. If a different
set of par values are needed then the function parsyn() can be
used to act as a prompt for the correct syntax. The output to
the console can be copied to your script and modified to suit.
# NOT RUN { x <- rnorm(100,mean=5,sd=0.5)
y <- rnorm(100,mean=5,sd=0.5)
oldpar <- parset(plots=c(1,2))
plot1(x,y,defpar=FALSE)
plot1(y,x,defpar=FALSE)
par(oldpar)
# }