On 29.01.2009, at 13:08, Roger Bivand wrote:

Set the pbg= argument to set the "bg" (background) to something other than "transparent" - if it is transparent, the previously plotted larger and encompassing polygon is still visible. I'm afraid that the documentation, which should be in ?"SpatialPolygons-class" where the plot method is described, is in the maptools package, in ? plot.polylist - this will be fixed.

Thanks.

plot(pseSP,col='red', pbg='white')

works. But this also implies that:
- one is not able to create a transparent hole(?)
- and one has to care about the correct plotting order or to set the correct pbg if that 'hole' belongs to another polygon

Cheers,
--Hans

_______________________________________________
R-sig-Geo mailing list
R-sig-Geo@stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r-sig-geo

Reply via email to