[R] countour and poygon shading

Gabor Grothendieck ggrothendieck at gmail.com
Tue Jan 30 00:53:15 CET 2007


If you look at the examples in ?xyplot.zoo in the zoo package
there is an example of placing a rectangle behind a lattice plot.
Maybe that applies here too?

For classic graphics there is an example of displaying a
rectangle behind a plot here:
http://www.mayin.org/ajayshah/KB/R/html/g5.html

On 1/29/07, J.M. Breiwick <jeff.breiwick at noaa.gov> wrote:
> Hi,
>
> I have a contour plot and I want to shade a polygon (the area below a line)
> but the polygon shading wipes out the contour lines. Does anybody know how
> to shade the polygon and still see the contour lines? Thanks.



More information about the R-help mailing list