[R-sig-Geo] add legend to plot(spatialpolygonsdataframe)

Paul Hiemstra p.hiemstra at geo.uu.nl
Sun Aug 1 10:53:06 CEST 2010


On 07/28/2010 10:28 AM, Paulo Eduardo Cardoso wrote:
> How can one compose a plot, adding legend, title, and axis titles to a
> plot of spatial object like a spatialpolygonsdataframe?
> Any comment will be appreciated
> Paulo
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>    
Hi Paulo,

I would take a look at spplot. This wrapper around a few functions from 
lattice plots spatial data quite nicely. See:

http://rwiki.sciviews.org/doku.php?id=tips:spatial-data:spatial_data_visualization

for some more information.

cheers,
Paul

-- 
Drs. Paul Hiemstra
Department of Physical Geography
Faculty of Geosciences
University of Utrecht
Heidelberglaan 2
P.O. Box 80.115
3508 TC Utrecht
Phone:  +3130 253 5773
http://intamap.geo.uu.nl/~paul
http://nl.linkedin.com/pub/paul-hiemstra/20/30b/770



More information about the R-sig-Geo mailing list