.makeColorMatrix {quickPlot} | R Documentation |
Convert Raster to colour matrix usable by raster function for plotting
Description
Internal function.
Usage
.makeColorMatrix(
grobToPlot,
zoomExtent,
maxpixels,
legendRange,
cols = NULL,
prevMinMax,
na.color = "#FFFFFF00",
zero.color = NULL,
skipSample = TRUE
)
Arguments
grobToPlot |
A |
zoomExtent |
An |
maxpixels |
Numeric. Number of cells to subsample the complete
|
legendRange |
Numeric vector giving values that, representing the lower
and upper bounds of a legend (i.e., |
cols |
Colours specified in a way that can be understood directly
or by |
na.color |
Character string indicating the colour for |
zero.color |
Character string indicating the colour for zero values,
when zero is the minimum value.
Otherwise, it is treated as any other colour.
Default transparent.
Use |
skipSample |
Logical. If no downsampling is necessary, skip.
Default |
Author(s)
Eliot McIntire