Skip to content
Back to formatted view

Raw Message

Message-ID: <4270FAE7.8080501@statisticon.se>
Date: 2005-04-28T15:01:59Z
From: Henric Nilsson
Subject: shading in line plots
In-Reply-To: <Pine.LNX.4.58.0504281012090.7895@ls02.fas.harvard.edu>

Heather Joan Lynch said the following on 2005-04-28 16:14:

> 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?

First, citing Simon `Yoda' Blomberg, "This is R. There is no if. Only how."

So, yes, this is possible. How? Try ?polygon.


HTH,
Henric