[R-sig-Geo] spplot with two rasters
Dylan Beaudette
dylan.beaudette at gmail.com
Wed Mar 5 01:21:30 CET 2008
Hi,
Is it possible to plot two raster images using spplot() in a manner similar
to:
pts <- list("sp.points", points_file, pch = 4, col = "black", cex=0.5)
spplot(raster_file, zcol="elev.pred", sp.layout=list(pts))
Note that one of the raster images is an aerial photo, used only for context,
while the second one is one with interesting z-values. The second raster is
masked and thus does not cover the entire region.
Thanks,
Dylan
--
Dylan Beaudette
Soil Resource Laboratory
http://casoilresource.lawr.ucdavis.edu/
University of California at Davis
530.754.7341
More information about the R-sig-Geo
mailing list