Skip to content

graphical paramters to boxplot

1 message · Martin Maechler

#
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._