Skip to content
Prev 18126 / 398502 Next

plot question

Myriam Abramson wrote:
You can additionally set xlim, but the better way is to add "testtwo"
with lines() or points():

 z <- 1:50
 x <- 1:100

plot(x,testone,type="l",xlab="",ylab="",main="",lty=4,xaxt="n",ylim=c(-1.0,1.0),cex=1)
 lines(z, testtwo, lty=1, col="red", cex=1)
 xlabels <- x*10
 axis(1,1:100,xlabels)

Uwe Ligges
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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 at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._