[Rd] abline and log plots (PR#1243)

stephen@cogsci.ed.ac.uk stephen@cogsci.ed.ac.uk
Sat, 5 Jan 2002 01:11:48 +0100 (MET)


Full_Name: Stephen Eglen
Version: 1.4
OS: Redhat Linux 7.1
Submission from: (NULL) (128.252.204.36)


abline() produces a spurious line in addition to the correct line, at least with

the X11 driver.  The postscript file generated also has nan values in it, which
causes an error under ghostscript.

xs <- c(0, 150, 300)
ys <- c(75, 40, 23)
par(mfrow=c(1,2))
plot(xs,ys, log="")
abline(70, -0.25, -.1, untf=F)
plot(xs,ys, log="y")
abline(70, -0.3, -.1, untf=T)
dev.copy2eps(file="abline.ps")


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._