landmark.plot: Add the points from a landmark matrix to an existing plot

Description Usage Arguments Value Author(s) See Also Examples

View source: R/landmark.plot.R

Description

Adds the landmarks from each event in a landmark matrix to an existing plot. The points cycle through red, green, and blue so that each event is distinct from its neighbors.

Usage

1
landmark.plot(landmarks, ix)

Arguments

landmarks

a matrix of landmarks

ix

indices of columns that all correspond to the same variable

Value

none

Author(s)

Benjamin N. Taft [email protected]

See Also

soundpoints

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function (landmarks, ix) 
{
    points(t(landmarks$mean.time + landmarks[, 11 + ix]), t(landmarks[, 
        15 + ix]), pch = 16, cex = 2/3, col = rep(2:4, each = length(ix)))
  }

landmarkacoustics/SoundPoints-R documentation built on Sept. 26, 2018, 9:08 a.m.