I think you misunderstand the working of par(). If you set new
parameters, R allows you to store the old parameters simultaneously.
Take a look at :
par(no.readonly=T)
oldpar <- par(mar=c(1,1,1,1),tck=0.02)
par(no.readonly=T)
par(oldpar)
par(no.readonly=T)
So your line :
newpar <- par(mar=c(3.1,
Hello!
In order to plot multiple graphs with the same setup I use the
following code-structure:
###
# storing old parameter set
oldpar <- par(no.readonly=T)
#copying old parameter set
newpar <- par(no.readonly=T)
#adjusting parameters
new
Hello!
In order to plot multiple graphs with the same set-up I use the
following code-structure:
###
# storing old parameter set
oldpar <- par(no.readonly=T)
#copying old parameter set
newpar <- par(no.readonly=T)
#adjusting parameters
new
3 matches
Mail list logo