plot.landscape: Plotting routine for landscape objects

Description Usage Arguments Value See Also

Description

A flexible plotting call for landscpe objects. The only required argument is the landscape object. Modified from plot.deldir from the deldir package.

Usage

1
2
3
4
5
6
## S3 method for class 'landscape'
plot(x, y, add = FALSE, number = FALSE,
  points = FALSE, cex = 1, nex = 1, pch = 1, lty = 1,
  lineCol = "black", pointCol = "gray60", holeCol = "gray20",
  numCol = "gray40", holeNumCol = "gray80", ylim = NULL, xlim = NULL,
  axes = FALSE, main = NULL, tex = 1, mar = rep(2, 4), ...)

Arguments

x

The landscape to plot. Required.

y

Ignored. Included for compatibility with plot.

add

Boolean, if true the landscape will be added to the current plot. Default FALSE.

number

Boolean, whether or not to number the tiles. Default FALSE.

points

Boolean, whether or not to draw the random points that built the tiles. Default FALSE.

cex

cex for points (if drawn).

nex

cex for numbers (if drawn).

pch

pch for points (if drawn).

lty

lty for borders.

lineCol

Color used for borders, default "black".

pointCol

Color used for points, default "gray60".

holeCol

Fill for deleted tiles (holes). Default "gray20".

numCol

Color for numbers, default "gray40".

holeNumCol

Color for numbers of holes, default "gray80".

ylim

y limits of plot.

xlim

x limits of plot.

axes

Boolean, whether or not to draw axes. Can be useful especially if hAspect is not 1.

main

Character string to title the plot.

tex

cex for main argument.

mar

vector of 4 values, margins for the plot.

...

additional parameters passed to segments if for drawing the boundaries.

Value

NULL

See Also

par


gregorp/rlandscape documentation built on May 17, 2019, 8:36 a.m.