[R] graphical paramters to boxplot

Martin Maechler maechler at stat.math.ethz.ch
Mon Jan 25 14:32:36 CET 1999


>>>>> "Lorenz" == Lorenz Gygax <lgygax at access.unizh.ch> writes:

    Lorenz> Dear all, is this a bug or do a miss something (this concerns
    Lorenz> version 0.63.1 on Linux)?

Thank you Lorenz, for reporting it.
It is indeed a minor bug (a wrong warning).

    >> boxplot (c (1, 2, 3, 4, 5), ylim= c (-5, 5))
    Lorenz> Warning: parameter "ylim" couldn't be set in high-level plot()
    Lorenz> function
    >> boxplot (c (1, 2, 3, 4, 5), pars= list (ylim= c (-5, 5)))
    Lorenz> Warning: parameter "ylim" couldn't be set in high-level plot()
    Lorenz> function
    >>

both of these are equivalent.

    Lorenz> and actually in both cases ylim is set as I want it to be.

yes.

Looking at boxplot(), one realizes quickly that the warning is produced
within  bxp(),
actually when
	do.call("title",pars)
happens (at that time, pars shouldn't contain  ylim anymore...).

Since this is only a small nuisance, I'll not post the patch once I have
it. However, this should go into the release-patches shortly...

Martin
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list