add legend to plot(spatialpolygonsdataframe)
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