[R] shading between to curves that intersect repeatedly

BJ Manz bm7439 at bristol.ac.uk
Tue Dec 15 13:42:22 CET 2009


Dear R-Community,

I have the following problem and was wondering whether someone could help
me out. I have a number of time series of discharge (up to 3000 data
points in some cases) which I would like to compare on the same line plot
by shading the area between some of them. Can anyone tell me how to do
that? I have tried to fiddle around with the polygon function, but the
curves interact a number of times and I am not sure that'll work.

Thanks for any help in advance

Bastian

--




More information about the R-help mailing list