Plot
Extract colours, legends and other things from object, and convert to a plotGrob
.
.preparePlotGrob(
grobToPlot,
sGrob,
takeFromPlotObj,
arr,
newArr,
prevMinMax,
quickPlotGrobCounter,
subPlots,
cols
).xyAxes(sGrob, arr, whPlotFrame)
# S4 method for .quickPlotGrob,.arrangement
.xyAxes(sGrob, arr, whPlotFrame)
.Plot(
sGrob,
grobToPlot,
subPlots,
quickSubPlots,
quickPlotGrobCounter,
isBaseSubPlot,
isNewPlot,
isReplot,
zMat,
wipe,
xyAxes,
legendText,
vps,
nonPlotArgs,
arr
)
# S4 method for .quickPlotGrob
.Plot(
sGrob,
grobToPlot,
subPlots,
quickSubPlots,
quickPlotGrobCounter,
isBaseSubPlot,
isNewPlot,
isReplot,
zMat,
wipe,
xyAxes,
legendText,
vps,
nonPlotArgs,
arr
)
.refreshGrob(
sGrob,
subPlots,
legendRange,
grobToPlot,
plotArgs,
nColumns,
nRows,
whPlotObj,
whExistingObj
)
# S4 method for .quickPlotGrob
.refreshGrob(
sGrob,
subPlots,
legendRange,
grobToPlot,
plotArgs,
nColumns,
nRows,
whPlotObj,
whExistingObj
)
.updateGrobGPTextAxis(sGrob, arr, newArr)
# S4 method for .quickPlotGrob
.updateGrobGPTextAxis(sGrob, arr, newArr)
Graphical object to plot
quickPlotGrob
object
Logical indicating whether data for grobToPlot
should be found in
current call to Plot or from disk
An arragement object.
Logical, whether there is a new arrangement happening
Numeric. A counter. No meaning outside Plot
function.
Character. Name of plot area.
Colour vector.
Numeric. Which plot within the quickPlotGrobPlots
object.
List of many quickPlotGrobs
Logical. Is the currently being plotted object a base layer
Logical. Is the currently being plotted object a new, additional plot
Logical. Is the currently being plotted object a replot due to something like a rearrangement
List resulting from .preparePlotGrob
Logical. Is the currently being plotted object require a white rectangle to be plotted first, and subsequent other changes.
List of length 2, resulting from .xyAxes
Character vector of legend value labels.
Defaults to NULL
, which results in a pretty numeric
representation.
If Raster*
has a Raster Attribute Table (rat
;
see raster package), this will be used by default.
Currently, only a single vector is accepted.
The length of this must match the length of the legend, so
this is mostly useful for discrete-valued rasters.
A viewport tree resulting from .makeViewports
Arguments passed to Plot
that are not .quickPlottables
,
but are passed along with .quickPlottables
.
Numeric vector giving values that, representing the lower
and upper bounds of a legend (i.e., 1:10
or
c(1,10)
will give same result) that will override
the data bounds contained within the grobToPlot
.
list. Any arguments that the the grid package can accept for
the specific grob types, e.g., rasterGrob
, polygonGrob
, etc.
Numeric, length 1, indicating how many columns are in the device arrangement
Numeric, length 1, indicating how many rows are in the device arrangement
Numeric. Length 1, indicating which of the currently objects passed into
Plot
is currently being plotted, i.e., a counter of sorts.
Numeric. Like whPlotObj
, but for whole existing plot, not just supplied in
current call.
Eliot McIntire