[R] filling the area

Mauricio Cardeal mcardeal at ufba.br
Thu Jan 25 14:18:43 CET 2007


Please, how to fill the area under the curve?

x <- c(1:10)
y <- c(rnorm(10))
plot(x,y)
lines(x,y)

Thanks,
Mauricio Cardeal



More information about the R-help mailing list