Skip to content
Prev 20573 / 29559 Next

using spplot to superimpose points and polygons on SpatialGridDataFrame

On 03/12/2014 06:03 PM, Parviez Hosseini wrote:
There are points produced by sp.layout=list(pts), but they are indeed
hidden by the big filled circles -- try:

spplot(meuse.grid["dist"], col.regions=greys, sp.layout=pts,
cuts=length(greys)-1, colorkey=TRUE, cex=.1)

according to the documentation, with

pts <- list("sp.points", meuse, pch = 16, col = "green", cex=2,first=FALSE)

it should plot on top, but doesn't.

The original thread, which you didn't quote, was from 2007. Is this a
problem for you?