axis for small ranges (PR#390)
thomas@biostat.washington.edu
thomas@biostat.washington.edu
Tue, 28 Dec 1999 17:24:48 +0100 (MET)
On Tue, 28 Dec 1999 Andreas.Weingessel@ci.tuwien.ac.at wrote:
>
> If you plot a vector of numbers which are all very similar
> (i.e. within the range of some eps), the y-axis is not drawn
> correctly. Either it is completely missing and there is an additional
> horizontal line (1st example below) or it is longer than the plotting
> region (2nd example).
>
>
> x <- c(0.12345678912345678,0.12345678912345679,0.12345678912345676)
> plot(x)
This one works for me on Solaris and Linux (though with Linux the label
isn't centered)
> y <- c(0.9999563255363383973418, 0.9999563255363389524533, 0.9999563255363382863194)
> plot(y)
On Solaris (with a somewhat old version of R) this causes an infinite loop
(interruptable by C-c) in pretty0
-thomas
>
> -aw
>
> --please do not edit the information below--
>
> Version:
> platform = i686-unknown-linux
> arch = i686
> os = linux
> system = i686, linux
> status = Patched
> major = 0
> minor = 90.0
> year = 1999
> month = December
> day = 9
> language = R
>
> Search Path:
> .GlobalEnv, Autoloads, package:base
>
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> 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
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
>
Thomas Lumley
------------------------------------------------------+------
Biostatistics : "Never attribute to malice what :
Uni of Washington : can be adequately explained by :
Box 357232 : incompetence" - Hanlon's Razor :
Seattle WA 98195-7232 : :
------------------------------------------------------------
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._