Thanks for the hint for the "colorkey" argument! Is there an equivalent for point data? I tried
data(meuse.grid) coordinates(meuse.grid) <- ~x+y ?xyplot spplot(meuse.grid, "dist", auto.key=TRUE) spplot(meuse.grid, "dist", auto.key=FALSE) with no effect. Thanks, Tom Roger Bivand schrieb: > 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 >> > _______________________________________________ R-sig-Geo mailing list [email protected] https://stat.ethz.ch/mailman/listinfo/r-sig-geo
