[Rd] rug(x) clip warning incorrect if par("xlog")==TRUE (PR#1188)

Martin Maechler Martin Maechler <maechler@stat.math.ethz.ch>
Fri, 30 Nov 2001 09:55:19 +0100


>>>>> "ChuckB" == Charles C Berry <cberry@tajo.ucsd.edu> writes:

    ChuckB> To wit:

    >> plot(1:2,1:2,log="x") rug(1:2) # should not warn
    ChuckB> Warning message: some values will be clipped in: rug(1:2)
    >> plot(1:2,1:2,log="x") rug(c(0,.1,.2)) # should warn, but does not
    >> 

    ChuckB> I believe this fixes the problem:

    ... [[ using par("xlog") etc ]]

yes, it does and I'm committing a patch for R 1.4
Thank you very much!

Martin
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._