Skip to content
Prev 5578 / 29559 Next

spplot [SEC=UNCLASSIFIED]

Dear Jin, the

  ..., scales=list(draw=T), ...

only prints the degree E and degree S on the axis tic marks when it is convinced the data are in long lat. Use 

  proj4string(pred.mud.ked) <- "+proj=longlat" 

maybe with the right datum, to set this for pred.mud.ked; in principle you could set it early on in your analysis and it should propagate. Be aware that interpolation in gstat will do something different when it finds out that data are in degrees, as it can no longer use coordinates "easily" to compute Euclidian distances.

To change the colorkey, read the help of function levelplot in package lattice, in particular argument colorkey.
--
Edzer
Jin.Li at ga.gov.au wrote: