These are required to create plotting methods to work with quickPlot.
# S3 method for worldArray
numLayers(x)
# S3 method for worldMatrix
numLayers(x)
# S4 method for worldArray
layerNames(object)
# S4 method for worldArray,.quickPlotGrob
.identifyGrobToPlot(toPlot, sGrob, takeFromPlotObj)
An object or list of objects.
An object from which to extract the layer names.
The object to plot. Should be a single layer if from a multi-layer
object such as a RasterStack
.
quickPlot
grob object
Logical. Should the data come from the argument passed
into Plot
(TRUE
), or from the (.quickPlotEnv
) (FALSE
).