Re: [R] overlaid filled contour plots: solved

2011-12-25 Thread Michael Friendly
MerryXmas() to R-help! No one answered this query, but I found an easy solution that others may find useful, using a wrapper for contour() that calls contourLines() and then replots the contours using polygon(). It could use a little tuning (easier way to specify fill.alpha) to make it a

[R] overlaid filled contour plots

2011-12-22 Thread Michael Friendly
I'm trying to make a set of contour plots of bivariate kernel density estimates, showing three such plots overlaid, similar to this plot http://euclid.psych.yorku.ca/SCS/Private/Test/ridge-boot2.pdf except that I would like to have the contours *filled* (using transparent colors). To make