[R] do not plot polygon boundaries with spplot {sp}

Dylan Beaudette dylan.beaudette at gmail.com
Mon Oct 8 23:17:03 CEST 2007


Is there a simple way to suppress the plotting of polygon boundaries with 
spplot() ?

# simple list of 12 colors
cols <- brewer.pal(12, "Paired")

# plot pile of polygons, with 12 classes:
spplot(x, zcol='class2', col.regions=cols, scales=list(draw=T), xlab="Easting 
(m)", ylab="Northing (m)")

... seems to work well. However the polygon boundaries are colored black. If 
possible I would like the boundaries to not be drawn at all.

any tips?



Dylan Beaudette
Soil Resource Laboratory
University of California at Davis

More information about the R-help mailing list