[Rd] par(mfrow = ) resets par('cex'), not reduces it (PR#13373)

cmr.pent at gmail.com cmr.pent at gmail.com
Fri Dec 5 15:40:11 CET 2008

help(par) says:

  'mfcol, mfrow' ...

    In a layout with exactly two rows and columns the base value of
    '"cex"' is reduced by a factor of 0.83: if there are three or more
    of either rows or columns, the reduction factor is 0.66.

In reality, par(mfrow =) *resets* par ('cex'), not reduces it as
documented. To reproduce:

par(cex = 0.5)
par(mfrow = c(2, 2))

It outputs 0.83, not 0.415 as expected.

Particularly such a behavior makes plot.ts and plot.acf effectively
ignore par('cex') value for the multivariate case. I guess there are
more situations where the documented behavior would be more

I'm ready to provide any additional info,

--please do not edit the information below--

 platform = i486-pc-linux-gnu
 arch = i486
 os = linux-gnu
 system = i486, linux-gnu
 status =
 major = 2
 minor = 8.0
 year = 2008
 month = 10
 day = 20
 svn rev = 46754
 language = R
 version.string = R version 2.8.0 (2008-10-20)


Search Path:
 .GlobalEnv, package:stats, package:graphics, package:grDevices,
package:utils, package:datasets, package:methods, Autoloads,

More information about the R-devel mailing list