[R-sig-Geo] Fill pattern in plot.SpatialPolygons

Roger Bivand Roger.Bivand at nhh.no
Thu Jan 28 14:56:39 CET 2010


On Thu, 28 Jan 2010, Bjarke Christensen wrote:

>
> Hi,
>
> Is it possible to plot SpatialPolygons using a fill pattern, so that the
> polygon is filled not with a solid color but with lines, dots or the like?

If the angle= and density= arguments as described in ?polygon give you 
what you want, yes. They may be used like col=.

Getting a cross-hatch means over-plotting for the affected polygons, again 
in the usual way - the same can be done to mix solid colour and lines.

Roger

>
> Thanks in advance,
> Bjarke Christensen
>
> _______________________________________________
> 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