[R-sig-Geo] plot of sp SpatialPolygonsDataFrame: col not working?
Rob Robinson
rob.robinson at bto.org
Tue Oct 30 12:20:02 CET 2007
Agus,
Try the border= option in plot, I think I had a similar problem...
Cheers
rob
*** Want to know about Britain's birds? Try www.bto.org/birdfacts ***
Dr Rob Robinson, Senior Population Biologist
British Trust for Ornithology, The Nunnery, Thetford, Norfolk, IP24 2PU
Ph: +44 (0)1842 750050 E: rob.robinson at bto.org
Fx: +44 (0)1842 750030 W: http://www.bto.org
eSafe scanned this email for viruses, vandals and malicious content (!)
==== "How can anyone be enlightened, when truth is so poorly lit" =====
> -----Original Message-----
> From: r-sig-geo-bounces at stat.math.ethz.ch
> [mailto:r-sig-geo-bounces at stat.math.ethz.ch] On Behalf Of Agustin Lobo
> Sent: 30 October 2007 11:14
> To: r-sig-geo at stat.math.ethz.ch
> Subject: [R-sig-Geo] plot of sp SpatialPolygonsDataFrame: col
> not working?
>
> Dear list,
>
> I'm plotting polygons with:
> displayDataset(GDAL.open("G:/PERU/imorm2007/test1TNT/PC1_3s.tif"))
> plot(boundary,lwd=2,col=2,add=T)
> plot(pols.ferns3,col=3,lwd=1,add=T)
>
> (cannot use spplot because I need the add=T) but the polygons
> are actually black, ignoring col. I think that this is
> because the boundaries of the polygons get displayed in
> black, regardless of the filling color, and my polygons are
> very narrow at this scale (which is the one I need). Is there
> any way of changing the color of the boundaries or just not
> displaying boundaries?
>
> Thanks!
>
> Agus
> --
> Dr. Agustin Lobo
> Institut de Ciencies de la Terra "Jaume Almera" (CSIC) LLuis
> Sole Sabaris s/n
> 08028 Barcelona
> Spain
> Tel. 34 934095410
> Fax. 34 934110012
> email: Agustin.Lobo at ija.csic.es
> http://www.ija.csic.es/gt/obster
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>
More information about the R-sig-Geo
mailing list