[R] Matplot & Polygon

Kitty Lee lee.kitty at yahoo.com
Wed Aug 3 02:52:31 CEST 2011


I used matplot to plot multiple lines (over 300 lines). I'd like to draw a polygon and shade the area between upper and lower boundary.

I know the plot function works pretty well with polygon(). How about matplot? I have too many lines and my upper/lower boundaries are formed by many different lines. Matplot seems to be more efficient in plotting our all the lines...or perhaps I'm wrong on this. I'd like to hear other suggestions.

Thanks.

K.



More information about the R-help mailing list