[R] plot.Map Maptools

Roger Bivand Roger.Bivand at nhh.no
Mon Nov 22 21:00:07 CET 2004


On Mon, 22 Nov 2004, DrakeGis wrote:

> Hi,
>   Is there any way to plot a Map with different shading patterns, instead
> of color intensity, in R2.0.1 over Linux ?
> 

Yes, but not with plot.Map(). If you need to fill, or shade, you are 
working with polygons. Convert to the polylist object using Map2poly(), 
and use plot.polylist() - see help(plot.polylist) for an example with 
shading patterns (arguments angle= and density=).

Roger Bivand


>   Thanks.
> 
> 
> D
> 
> 
> -----------------------------------------
> Stay ahead of the information curve.
> Receive GIS news and jobs on your desktop daily.
> Subscribe today to the GIS CafeNews newsletter.
> [ http://www10.giscafe.com/nl/newsletter_subscribe.php ]
> It's informative and essential.
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
> 

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




More information about the R-help mailing list