[R] shading between to curves that intersect repeatedly
    Peter Dalgaard 
    P.Dalgaard at biostat.ku.dk
       
    Tue Dec 15 14:47:15 CET 2009
    
    
  
BJ Manz wrote:
> 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
>
Did you see the example "Distance Between Brownian Motions" on the help
pare for polygon?
-- 
   O__  ---- Peter Dalgaard             Øster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark      Ph:  (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)              FAX: (+45) 35327907
    
    
More information about the R-help
mailing list