On Tue, 22 Sep 2009, Tom Gottfried wrote:
Hi list,
is there any way to draw a map with spplot() WITHOUT a legend?
library(sp)
data(meuse.grid)
gridded(meuse.grid)=~x+y
spplot(meuse.grid, "dist")
library(lattice)
?levelplot
spplot(meuse.grid, "dist", colorkey=FALSE)
By the way: is there any documentation available for the function
mapLegendGrob()? I mean besides the usage and arguments section in the
relevant help page. I'm sorry I can't find it.
http://r-spatial.sourceforge.net/gallery/#fig04.R
http://www.nceas.ucsb.edu/scicomp/GISSeminar/UseCases/MapProdWithRGraphics/OneMapProdWithRGraphics.html
are two examples - the function is for the placing of North arrows and
similar items.
Roger
Thanks in advance!
Tom
_______________________________________________
R-sig-Geo mailing list
[email protected]
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: [email protected]
_______________________________________________
R-sig-Geo mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-geo