[R] small first graph of par(3,2), other 5 are correct
David.Brahm at geodecapital.com
Mon Jul 11 19:55:43 CEST 2005
Here is your toy example in more condensed form:
par(mar=c(0.5, 1, 5, 5))
par("mex") # mex=1.0 here
par(cex.axis=1.0, mex=0.5) # Now you change it
for (i in 1:5) plot(1:10)
When you build your first plot (effectively at the plot.new() command),
your "mex" parameter is 1, and that leaves lots of space in the margins.
Then you set mex=0.5, which holds for all subsequent plots, and they get
less margin space.
-- David Brahm (brahm at alum.mit.edu)
More information about the R-help