.prepareRaster | R Documentation |
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.
.prepareRaster(
grobToPlot,
zoomExtent,
legendRange,
takeFromPlotObj,
arr,
speedup,
newArr
)
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 |
Eliot McIntire
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.