More than one series in plot

No votes yet

From the r-help mailing list:

x <- rnorm(10)
y <- runif(10)
z <- 1:10

plot(x~z, ylim=range(x, y), type='l') lines(y, col='red')