Torsten.Hothorn@rzmail.uni-erlangen.de
2003-Mar-12 17:28 UTC
[Rd] cex.axis in boxplot (PR#2628)
Hi,
the graphical parameter "cex.axis" does not have any affect for
"boxplot":
data(iris)
boxplot(iris[,1:4], ylab="y", cex.lab=2, cex.axis=2)
The patch is simply adding "cex.axis" to the search for axis relevant
parameters in "bxp":
ax.pars <- pars[names(pars) %in% c("xaxt", "yaxt",
"las", "cex.axis")]
Best,
Torsten
--please do not edit the information below--
Version:
platform = i686-pc-linux-gnu
arch = i686
os = linux-gnu
system = i686, linux-gnu
status = Under development (unstable)
major = 1
minor = 7.0
year = 2003
month = 03
day = 11
language = R
Search Path:
.GlobalEnv, package:methods, package:ctest, package:mva, package:modreg,
package:nls, package:ts, Autoloads, package:base
Torsten.Hothorn@rzmail.uni-erlangen.de wrote:> Hi, > > the graphical parameter "cex.axis" does not have any affect for "boxplot": > > data(iris) > boxplot(iris[,1:4], ylab="y", cex.lab=2, cex.axis=2) > > > The patch is simply adding "cex.axis" to the search for axis relevant > parameters in "bxp": > > ax.pars <- pars[names(pars) %in% c("xaxt", "yaxt", "las", "cex.axis")]The following works: par(cex.axis=2) boxplot(iris[,1:4], ylab="y") Hence not clearly a bug. And again we have the discusion whether to implement almost all par() arguments in functions like boxplot() / bxp() or not. I'll bet there are also a few other par() arguments that don't work with bxp(). I refer to Martin Maechler's mail (17.12.02: [Rd] Changing "..." inside a function: impossible? desirable?). Is there a decision (by R-Core)? Is it desirable to have (almost) (all) par() arguments work as arguments of highlevel plot functions? Uwe Ligges> Best, > > Torsten > > > --please do not edit the information below-- > > Version: > platform = i686-pc-linux-gnu > arch = i686 > os = linux-gnu > system = i686, linux-gnu > status = Under development (unstable) > major = 1 > minor = 7.0 > year = 2003 > month = 03 > day = 11 > language = R > > Search Path: > .GlobalEnv, package:methods, package:ctest, package:mva, package:modreg, > package:nls, package:ts, Autoloads, package:base > > ______________________________________________ > R-devel@stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-devel