Learn R Programming

geomorph (version 3.0.7)

plot.trajectory.analysis: Plot Function for geomorph

Description

Plot Function for geomorph

Usage

# S3 method for trajectory.analysis
plot(x, group.cols = NULL,
  pt.seq.pattern = c("white", "gray", "black"), pt.scale = 1, ...)

Arguments

x

plot object (from trajectory.analysis)

group.cols

An optional vector of colors for group levels

pt.seq.pattern

The sequence of colors for starting, middle, and end points of trajectories, respectively. E.g., c("green", "gray", "red") for gray points but initial points with green color and end points with red color.

pt.scale

An optional value to magnify or reduce points (1 = no change)

...

other arguments passed to plot

Value

An object of class "plot.trajectory.analysis" is a list with components that can be used in other plot functions, such as the type of plot, points, a group factor, and other information depending on the plot parameters used.