Skip to content
Prev 1928 / 398506 Next

graphical paramters to boxplot

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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Message-ID: <199901251332.OAA04880@sophie.ethz.ch>
In-Reply-To: <Pine.LNX.3.96.990125141114.957A-100000@iamgygax.unizh.ch> (message from Lorenz Gygax on Mon, 25 Jan 1999 14:15:30 +0100 (MET))