Skip to content
Back to formatted view

Raw Message

Message-ID: <4DD0C489.7020700@uni-muenster.de>
Date: 2011-05-16T06:30:33Z
From: Edzer Pebesma
Subject: Contour-filled plotting of sp objects?
In-Reply-To: <5109F1532CA84E8ABDAA2FF6B518A4FD@gmail.com>

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