lines.Trajectory: Add Trajectory lines to a plot

View source: R/plot.R

lines.TrajectoryR Documentation

Add Trajectory lines to a plot

Description

The lines method for Trajectory objects.

Usage

## S3 method for class 'Trajectory'
lines(
  x,
  draw.start.pt = TRUE,
  start.pt.cex = 0.8,
  start.pt.pch = 16,
  start.pt.col = "black",
  turning.angles = NULL,
  ...
)

Arguments

x

An object of class "Trajectory", the trajectory to be plotted.

draw.start.pt

If TRUE, draws a dot at the start point of the trajectory.

start.pt.cex

Scale to apply when drawing the start point dot.

start.pt.pch

Pch (i.e. plot character, symbol or shape) to apply when drawing the start point dot.

start.pt.col

Colour to apply when drawing the start point dot.

turning.angles

If "random" or "directed", draws step turning angles. "directed" assumes errors are relative to the first recorded step angle. "random" assumes errors are relative to the previous step.

...

Additional arguments are passed to lines.


JimMcL/trajr documentation built on July 23, 2024, 2:06 a.m.