[R] shading in line plots
Henric Nilsson
henric.nilsson at statisticon.se
Thu Apr 28 17:01:59 CEST 2005
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
More information about the R-help
mailing list