Learn R Programming

rasterVis (version 0.10-2)

rasterTheme: Themes for raster with lattice.

Description

Auxiliary functions for the customization of trellis graphics with lattice.

xscale.raster and yscale.raster suppress the right and top axis, respectively.

rasterTheme is a customization of the custom.theme.2 function of latticeExtra using a Yellow-Orange-Red palette from RColorBrewer.

RdBuTheme, GrTheme and BTCTheme are variations of rasterTheme with different color defaults for the region argument.

Usage

yscale.raster(...)
xscale.raster(...)
rasterTheme(pch=19, cex=0.7, region=rev(brewer.pal(9, 'YlOrRd')), ...)
RdBuTheme(region=brewer.pal(9, 'RdBu'), ...)
GrTheme(region=rev(brewer.pal(9, 'Greys')), ...) 
BTCTheme(region=BTC(n=9), ...)

Arguments

See Also

custom.theme, custom.theme.2, BTC