Re: [R] shading in line plots

From: Henric Nilsson <henric.nilsson_at_statisticon.se>
Date: Fri 29 Apr 2005 - 01:01:59 EST

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



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Fri Apr 29 01:09:23 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:28 EST