maptopo: Draws contours on a plot map.

Description Usage Arguments See Also

Description

Draws contours on a plot map. Elevmat has elevation data in matrix form; plot dimensions are not needed, instead it calculates them from elevmat and the gridsize.

Usage

1
2
3
4
5
maptopo(elevmat, plotdim, add = FALSE, new = FALSE, export = "no",
  interval = 0, xrange = NULL, yrange = NULL, xaxis = TRUE,
  yaxis = TRUE, axspos = 0.5, labelsize = 1.15, maintitle = "",
  ht = 6, wd = 9, plotside = 4.5, filepath = "", clr = "black",
  bgcolor = "transparent")

Arguments

elevmat

Matrix of elevation data (see ?bciex::bci_elevation).

plotdim

The x and y dimensions of the plot.

add

Logical. Whether to add elements such as points or line to an existing graph. if TRUE, there must be an appropriate existing graph, otherwise, a new graph is drawn.

new

If TRUE, a new screen window is created.. See graphics::par().

export

export = "no", does nothing, so the next graph uses the default R device. With this option, the size of the graph cannot have been set larger than the default size, which is usually 7 inches. export = "unix", a new graphics window in unix, size h and width w, will be opened allowing you to alter the size of the output. export = "windows", or export = "mac" are similar to export = "unix" but for windows and mac. export = format exports the graph to a specific file format: "pdf", "png", "jpg", "bmp", "emf".

interval

Contour line intervals.

xrange

Minimum and maximum x and y coordinates of area graphed. If NULL, all x (or y) are included.

yrange

Minimum and maximum x and y coordinates of area graphed. If NULL, all x (or y) are included.

xaxis

xxxdocparam

yaxis

xxxdocparam

axspos

Distance between axis numbers and axis.

labelsize

xxxdocparam

maintitle

A title to appear at the top of the page, above the species name.

ht

Height and width of the overall graph. The default work for pdf export or mapping to the screen, and ht and wd are inches. But if export is png, jpg, emf, height and width are pixels and need to be 500-1000.

wd

Height and width of the overall graph. The default work for pdf export or mapping to the screen, and ht and wd are inches. But if export is png, jpg, emf, height and width are pixels and need to be 500-1000.

plotside

The vertical dimension (inches) of the map.

filepath

The folder to which map will be exported.

clr

A string indicating colour. See argument col in graphics::par().

bgcolor

The background color. Defaults to white. For presentation exports, try bgcolor="transparent".

See Also

map(), bciex::bci_elevation.


forestgeo/ctfs documentation built on May 3, 2019, 6:44 p.m.