[R] shading of curves with polygon

mdgi at gmx.ch mdgi at gmx.ch
Mon Oct 29 16:15:41 CET 2007


Hello again

With the poylgon function it's possible to plot shaded areas under a curve.
But somehow it connects the start and the endpoint of a line and fills whats between them. I would actually like to set the boarders of the shading by two min and max curves, but I failed.

i tried stl like:

polygon(min, max, border=0), where min and max are  my curves plotet by plot(max)
lines(min)

thanks for help

marc
-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger



More information about the R-help mailing list