Re: [R-sig-Geo] spplot: correct display of data minimum in colour key

2013-07-18 Thread Edzer Pebesma
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dear Ulrich, please try the "at" argument of spplot; see the following example on lattice::levelplot, for which spplot is a front-end: xy = expand.grid(x=1:10,y=1:10) xy$z = runif(100) library(lattice) levelplot(z~x+y,xy) levelplot(z~x+y,xy,at=(0:10)/

[R-sig-Geo] spplot: correct display of data minimum in colour key

2013-07-18 Thread ulrich.leopold
Dear all,I try to plot a raster map  with a correct colour key using spplot. But the minimum seems to be smaller than the data minimum in the colour key. I use the following code:##  Summary of raster map > summary(slope.grid)Object of class SpatialGridDataFrameCoordinates:    min  max x