# setplot: Set up device for locations In EnviroStat: Statistical Analysis of Environmental Space-Time Processes

## Description

Function to setup the graphical device to cover the range of locations.

## Usage

 1 setplot(xdata, ydata, pretty.call = TRUE, maxdim, axes = FALSE) 

## Arguments

 xdata vector x-axis coordinates of locations, or either a n \times 2 matrix or a list with named components x and y for x- and y-axis coordinates, respectively ydata vector y-axis coordinates of locations, not needed if n \times 2 matrix is given for xdata pretty.call if TRUE, coordinate locations are replaced with a grid calculated using pretty maxdim plot dimensions, (width, height), in inches; if not provided, current par("pin") is used axes logical value indicating whether both axes should be drawn on the plot

## Value

A list containing the following named components:

 xlim, ylim plot limits for the x- and y-axis, respectively oldpin old plot dimensions, as returned by par('pin') newpin new plot dimensions

EnviroStat documentation built on May 30, 2017, 5:38 a.m.