.makeColorMatrix(grobToPlot, zoomExtent, maxpixels, legendRange, cols = NULL, na.color = "#FFFFFF00", zero.color = NULL, skipSample = TRUE)
".makeColorMatrix"(grobToPlot, zoomExtent, maxpixels, legendRange, cols = NULL, na.color = "#FFFFFF00", zero.color = NULL, skipSample = TRUE)
SpatialObject
.Extent
object for zooming to.
Defaults to whole extent of grobToPlot
.grobToPlot
.1:10
or
c(1,10)
will give same result) that will override
the data bounds contained within the grobToPlot
.colorRampPalette
.NA
values.
Default transparent.NULL
if zero should be the value given to it
by the colortable associated with the Raster.TRUE
.