next up previous
Next: QQ plot confidence intervals Up: R, S, and Splus Previous: Distribution-related functions


Image plots for displaying spatial observations

One nice way to display observations that are indexed spatially is small blocks of differing color, where the two axes represent two-dimensional space. This uses the image.plot() function from the fields library.  
tmp=as.image(y,x=locns) # y is a vector of observations, and x a two-column matrix of locations 
image.plot(tmp$x,tmp$y,tmp$z,col=tim.colors(32),xlab="",ylab="")

Keywords: image.plot, R, plot, observations, spatial

Last modified 11/19/05.



Chris Paciorek 2006-04-02