When plotting using the cex.axis argument to boxplot(), the size of the plotting symbols beyond the whiskers of the boxplot are being changes. Example: par(mfrow=c(2,1)) boxplot(c(rnorm(10), 10), horizontal=TRUE, main="Test", las=2, cex.axis=2) boxplot(c(rnorm(10), 10), horizontal=TRUE, main="Test", las=2, cex.axis=1) This is from the following line in bxp() outcex <- pcycle(pars$outcex, pars$cex, par("cex")) Where pars$cex is matching pars$cex.axis. This would also effect other parameter specifications. This is a behavior I did not expect; I'm not sure if this is a design feature or something else. --Matt Matt Austin Statistician Amgen, Inc 800 9AMGEN9 x77431 805-447-7431 "The purpose of computing is insight, not numbers" --Richard Hamming [[alternative HTML version deleted]]
Apologies for the html mail, my company just upgraded and I forgot to change the default mail behavior. Version information that I also forgot:> version_ platform i386-pc-mingw32 arch i386 os mingw32 system i386, mingw32 status major 2 minor 4.0 year 2006 month 10 day 03 svn rev 39566 language R version.string R version 2.4.0 (2006-10-03) --Matt -----Original Message----- From: r-help-bounces at stat.math.ethz.ch [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Austin, Matt Sent: Saturday, November 11, 2006 8:15 PM To: r-help at stat.math.ethz.ch Subject: [R] Unexpected behavior in boxplot When plotting using the cex.axis argument to boxplot(), the size of the plotting symbols beyond the whiskers of the boxplot are being changes. Example: par(mfrow=c(2,1)) boxplot(c(rnorm(10), 10), horizontal=TRUE, main="Test", las=2, cex.axis=2) boxplot(c(rnorm(10), 10), horizontal=TRUE, main="Test", las=2, cex.axis=1) This is from the following line in bxp() outcex <- pcycle(pars$outcex, pars$cex, par("cex")) Where pars$cex is matching pars$cex.axis. This would also effect other parameter specifications. This is a behavior I did not expect; I'm not sure if this is a design feature or something else. --Matt Matt Austin Statistician Amgen, Inc 800 9AMGEN9 x77431 805-447-7431 "The purpose of computing is insight, not numbers" --Richard Hamming [[alternative HTML version deleted]] ______________________________________________ R-help at stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
[Not sure why you sent this to R-help rather than R-bugs or R-devel.] It is a bug, and is now fixed in R-patched and R-devel. On Sat, 11 Nov 2006, Austin, Matt wrote:> When plotting using the cex.axis argument to boxplot(), the size of the > plotting symbols beyond the whiskers of the boxplot are being changes. > > > > Example: > > > > par(mfrow=c(2,1)) > > boxplot(c(rnorm(10), 10), horizontal=TRUE, main="Test", las=2, cex.axis=2) > > boxplot(c(rnorm(10), 10), horizontal=TRUE, main="Test", las=2, cex.axis=1) > > > > This is from the following line in bxp() > > > > outcex <- pcycle(pars$outcex, pars$cex, par("cex")) > > > > Where pars$cex is matching pars$cex.axis. This would also effect other > parameter specifications. > > > > This is a behavior I did not expect; I'm not sure if this is a design > feature or something else. > > > > --Matt > > Matt Austin > Statistician > Amgen, Inc > 800 9AMGEN9 x77431 > 805-447-7431 > "The purpose of computing is insight, not numbers" --Richard Hamming > > > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >-- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595