Try the argument border -- if it gets passed to polygon then
border: the color to draw the border. The default, 'NULL', means to
use 'par("fg")'. Use 'border = NA' to omit
borders.
If not, then you may need to work around a bit.
url: www.econ.uiuc.edu/~roger Roger Koenker
email rkoenker at uiuc.edu Department of Economics
vox: 217-333-4558 University of Illinois
fax: 217-244-6678 Champaign, IL 61820
On Oct 8, 2007, at 4:17 PM, Dylan Beaudette wrote:
> 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
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-
> guide.html
> and provide commented, minimal, self-contained, reproducible code.