.prepareRaster {quickPlot} | R Documentation |
Prepare raster for plotting
Description
Internal function. Takes a raster .quickPlotGrob
, and converts zoomExtent
into
a zoom, and legendRange
into a legend.
Then calculates the maxpixels
to plot for speed.
Usage
.prepareRaster(
grobToPlot,
zoomExtent,
legendRange,
takeFromPlotObj,
arr,
speedup,
newArr
)
Arguments
grobToPlot |
A |
zoomExtent |
an extent object |
legendRange |
a numeric vector of length >=2 indicating the desired legend range. |
takeFromPlotObj |
logical. Should the object be found in the |
arr |
an |
speedup |
numeric, greater than 1 will usually speed up plotting at the expense of resolution |
newArr |
logical, whether this is a new arrangement or just adding to a previous one |
Author(s)
Eliot McIntire
[Package quickPlot version 1.0.2 Index]