[R] axis function

E. S. Venkatraman (venkat@biosta.mskcc.org)
Tue, 4 May 1999 14:54:44 -0400 (EDT)

Date: Tue, 4 May 1999 14:54:44 -0400 (EDT)
From: "E. S. Venkatraman" <venkat@biosta.mskcc.org>
To: r-help@stat.math.ethz.ch
Subject: [R] axis function
In-Reply-To: <19990504081308.A1389@sirio.stat.unipd.it>

I am plotting data in logarithmic scale and I find that R (0.63.2 on
Linux) and Splus (Unix v3.4 & NT v4.5) behave differently.

In R if I use the following I get the expected (correct) behaviour

> plot(10^(1:5),8^(1:5),xaxt="n",yaxt="n",log="xy")
> axis(1,at=10^(1:5))
> axis(2,at=10^(1:4))

However in Splus I get errors forcing me to use log10 for at in axis.

> plot(10^(1:5),8^(1:5),xaxt="n",yaxt="n",log="xy")
> axis(1,at=10^(1:5))
Line segments out of bounds X= 10 Y= 0.7585956
> axis(2,at=10^(1:4))
Line segments out of bounds X= 0.84 Y= 10

Which one is considered normal behaviour?

Thanks
Venkatraman

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


This archive was generated by hypermail 1.02.