[R] countour and poygon shading

Jim Lemon jim at bitwrit.com.au
Tue Jan 30 11:00:35 CET 2007

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.


More information about the R-help mailing list