[R] Unexpected behavior in boxplot
Prof Brian Ripley
ripley at stats.ox.ac.uk
Sun Nov 12 10:33:39 CET 2006
[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
More information about the R-help
mailing list