[R-sig-Geo] Contour-filled plotting of sp objects?

Edzer Pebesma edzer.pebesma at uni-muenster.de
Mon May 16 08:30:33 CEST 2011



On 05/16/2011 04:02 AM, Jooil Kim wrote:
> spplot(x["dist"], contour=TRUE)

spplot(x["dist"], contour=TRUE, region=FALSE)

takes out the grid values, but I don't know how you can get colours or
contour levels in the plot.

contour(x["dist"], col=bpy.colors(10))

does this, but is based on standard plot, not the spplot/lattice things.

Hth,
-- 
Edzer Pebesma
Institute for Geoinformatics (ifgi), University of Münster
Weseler Straße 253, 48151 Münster, Germany. Phone: +49 251
8333081, Fax: +49 251 8339763  http://ifgi.uni-muenster.de
http://www.52north.org/geostatistics      e.pebesma at wwu.de



More information about the R-sig-Geo mailing list