Learn R Programming

SpaDES (version 1.2.0)

.arrangement-class: The .arrangement class

Description

This class contains the plotting arrangement information.

Arguments

Slots

rows
numeric. Number of rows in the arrangement.
columns
numeric. Number of columns in the arragnement.
actual.ratio
numeric. Ratio of columns to rows
ds.dimensionRatio
numeric. Ratio of the device size to the ratio of the extents
ds
numeric of length 2. The dimensions of the plotting window in inches
objects
list of length number of spatial objects. Each list has a character vector of the layer names in each of those
isRaster
logical vector, indicating whether each object is a Raster* object
names
character vector. The names of the layers in the plot
extents
list of class Extent objects. These are needed to calculate the ds.dimensionRatio, which is used to scale the Spatial objects correctly
isSpatialObjects
logical indicating whether the object(s) are spatialObjects or not
layout
list of length 2, with width and height measurements for layout.
gp
a gpar object or list of named gpar objects. These names must match the names of the ... objects. Default is NULL. See details.
gpText
a gpar object or a list of named gpar objects. These names must match the names of the ... objects. Default is NULL. See details.
gpAxis
a gpar object or a list of named gpar objects. These names must match the names of the ... objects. Default is NULL. See details.
size
a numeric or a named list of numerics, used for SpatialPoints plots. Default is 5. See details.

Details

These gp* parameters will specify plot parameters that are available with gpar(). gp will adjust plot parameters, gpText will adjust title and legend text, gpAxis will adjust the axes. size adjusts point size in a SpatialPoints object. These will persist with the original Plot call for each individual object. Multiple entries can be used, but they must be named list elements and they must match the ... items to plot. This is true for a RasterStack also, i.e., the list of named elements must be the same length as the number of layers being plotted. The naming convention used is: RasterStackName$layerName, i.e, landscape$DEM.

See Also

spadesClasses