Re: [R] countour and poygon shading

From: Jim Lemon <>
Date: Tue 30 Jan 2007 - 10:00:35 GMT

J.M. Breiwick 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.
Hi Jeff,
If you're talking about polygon.shadow in the plotrix package, you have to call that function before you draw the overlying figure and anything else that would lie within the shadow.

Jim mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Tue Jan 30 21:09:08 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Tue 30 Jan 2007 - 10:30:24 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.