R-alpha: Bug[?] in axis(.) -- using format(.) for labels can give nonsense

Martin Maechler Martin Maechler <maechler@stat.math.ethz.ch>
Tue, 28 Oct 1997 18:37:35 +0100


To see what I mean,
try

 x11()
 par(mfrow=c(2,1))
 x <- 1:100
 plot(x, sin(pi*x/100))
 options(digits= 20)
 plot(x, sin(pi*x/100))

The problem really is in  axis(.) which uses  format(.) for the axis
labels.
I think  the result of axis(.) should NOT be influenced by

	options()$digits.

Should I change it?

--
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
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=