I am using levelplots to display matrices and the plots are below. Though same col.regions are used for both the plots, the colour key is different. How can we lock (or set) the colour key for both level plots? I want the same colour key (0 to 60) for both plots.
Try setting the
at
andcolorkey
parameters.In my example, I use the
rasterVis
package, which just extends thelattice
plotting functions for rasters, but it should not be necessary. I just wanted to use theBuRdTheme()
function to set my own theme.Example: