[R] how superpose two graphics ?
Bill Simpson
wsi at gcal.ac.uk
Tue Mar 27 12:09:13 CEST 2001
Whoops, made some mistakes last time
>
x1<-1:10
x2<-2:12
> y1<-x1+rnorm(length(x1))
> y2<-.1*x2+rnorm(length(x2))
> plot(x1,y1,xlim=range(x1,x2), ylim=range(y1,y2), pch=1)
> points(x2,y2,pch=2)
Bill
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list