[R-sig-Geo] Line colours when plotting SpatialPolygons

Roger Bivand Roger.Bivand at nhh.no
Tue Feb 20 15:16:46 CET 2007


On Tue, 20 Feb 2007, Rob Robinson wrote:

> 
> OK, I give up! I am trying to plot a SpatialPolygonsDataFrame (actually a
> part of a world map with simple country outlines). For presentational
> reasons I would like these outlines to be something other than black. I can
> easily change line width etc, but can't figure out the plot argument to
> change the colour. All the documentation I have looked at implies "col="
> ought to do it, but this sets the foreground fill colour. What have I
> missed?


border=

I have to agree that the documentation is not good enough, will be 
improved, thanks.

Roger

> Many thanks for any pointers
> Best wishes
> 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" =====
> 
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
> 

-- 
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Helleveien 30, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43
e-mail: Roger.Bivand at nhh.no




More information about the R-sig-Geo mailing list