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

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


Hi,

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?

cheers,

Dylan

-- 
Dylan Beaudette
Soil Resource Laboratory
http://casoilresource.lawr.ucdavis.edu/
University of California at Davis
530.754.7341



More information about the R-help mailing list