Try setting the at and colorkey parameters.
In my example, I use the rasterVis package, which simply extends the lattice build functions for rasters, but this is not necessary. I just wanted to use the BuRdTheme() function to set my own theme.
Example:
require(rasterVis)


source share