SpaDES (version 1.3.1)

.arrangeViewports: Determine optimal plotting arrangement of plot objects

Description

Internal function. Assesses the device geometry, the map geometry, and the number of spatial objects to plot and builds an object that will be used by the Plot functions to plot them efficiently.

Usage

.arrangeViewports(sPlot, arr = NULL)

# S4 method for .spadesPlot .arrangeViewports(sPlot, arr = NULL)

Arguments

sPlot

A .spadesPlot object.

arr

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.