[R] shading in line plots
Marc Schwartz
MSchwartz at MedAnalytics.com
Thu Apr 28 17:02:49 CEST 2005
On Thu, 2005-04-28 at 10:14 -0400, Heather Joan Lynch wrote:
> Hello,
>
> I cannot figure out how to shade between two lines in a plot. For
> example, if I am trying to plot a confidence envelope and I would like to
> shade the interior of the envelope grey. Is this possible in R?
>
> Thanks in advance.
You might want to review some of the examples in ?polygon for some hints
on how to approach this. You might find the second one most applicable
here.
HTH,
Marc Schwartz
More information about the R-help
mailing list