Message-ID: <1114700570.27826.6.camel@horizons.localdomain>
Date: 2005-04-28T15:02:49Z
From: Marc Schwartz
Subject: shading in line plots
In-Reply-To: <Pine.LNX.4.58.0504281012090.7895@ls02.fas.harvard.edu>
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