# S4 method for simList Plot( ..., new = FALSE, addTo = NULL, gp = gpar(), gpText = gpar(), gpAxis = gpar(), axes = FALSE, speedup = 1, size = 5, cols = NULL, col = NULL, zoomExtent = NULL, visualSqueeze = NULL, legend = TRUE, legendRange = NULL, legendText = NULL, pch = 19, title = NULL, na.color = "#FFFFFF00", zero.color = NULL, length = NULL, arr = NULL, plotFn = "plot" )
A combination of
spatialObjects or non-spatial objects.
For many object classes, there are specific
Plot methods. Where
there are no specific ones, the base plotting will be used internally.
This means that for objects with no specific
many arguments, such as
addTo, will not work.
TRUE, then the previous named plot area is wiped
and a new one made; if
FALSE, then the
... plots will be
added to the current device, adding or rearranging the plot layout
as necessary. Default is
FALSE. This currently works best if
there is only one object being plotted in a given
Plot call. However,
it is possible to pass a list of logicals to this, matching the
length of the
... objects. Use
clearPlot to clear the whole
plotting device. NOTE if
TRUE: Everything that was there,
including the legend and the end points of the colour palette, will
be removed and re-initiated.
Character vector, with same length as
This is for overplotting, when the overplot is not to occur on
the plot with the same name, such as plotting a
SpatialPoints* object on a
gpar object, created by
to change plotting parameters (see grid package).
gpar object for the title text.
gpar(col = "black").
gpar object for the axes.
gpar(col = "black").
"L", representing the left and bottom axes, over all plots.
Numeric. The factor by which the number of pixels is divided by to plot rasters. See Details.
Numeric. The size, in points, for
if using a scalable symbol.
col) Character vector or list of character vectors of colours.
cols) Alternative to
cols to be consistent with
cols takes precedence, if both are provided.
Extent object. Supplying a single extent that is
smaller than the rasters will call a crop statement before
plotting. Defaults to
This occurs after any downsampling of rasters, so it may
produce very pixelated maps.
Numeric. The proportion of the white space to be used for plots. Default is 0.75.
Logical indicating whether a legend should be drawn.
Numeric vector giving values that, representing the lower
and upper bounds of a legend (i.e.,
c(1,10) will give same result) that will override
the data bounds contained within the
Character vector of legend value labels.
NULL, which results in a pretty numeric
Raster* has a Raster Attribute Table (
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.
Logical or character string. If logical, it
indicates whether to print the object name as the title
above the plot. If a character string, it will print this
above the plot. NOTE: the object name is used with
not the title. Default NULL, which means print the object
name as title, if no other already exists on the plot, in
which case, keep the previous title.
Character string indicating the colour for
Character string indicating the colour for zero values, when zero is the minimum value, otherwise, zero is treated as any other colour. Default transparent.
Numeric. Optional length, in inches, of the arrow head.
A vector of length 2 indicating a desired arrangement of plot areas indicating number of rows, number of columns. Default NULL, meaning let Plot function do it automatically.
An optional function name to do the plotting internally, e.g., "barplot" to get a barplot() call. Default "plot".
This method strips out stuff from a
simList class object that would make it otherwise not
reproducibly digestible between sessions, operating systems, or machines.
This will likely still not allow identical digest results across R versions.