Learn R Programming

geomorph (version 1.1-1)

plotspec: Plot 3D specimen, fixed landmarks and surface semilandmarks.

Description

A function to plot three dimensional specimen along with its fixed landmarks and surface semilandmarks.

Usage

plotspec(specimen, digitspec, fixed)

Arguments

specimen
Name of data matrix containing "raw" three-dimensional landmark coordinates.
digitspec
Name of data matrix containing three-dimensional fixed and/or surface sliding coordinates.
fixed
Numeric: the number of fixed template landmarks

Details

Function to plot 3D specimens along with their digitized "fixed" and surface sliding semilandmarks.

Examples

Run this code
data(Specimen4Raw)
rawdat<-as.matrix(Specimen4Raw)
data(scallops)
digitdat<-scallops$coorddata[,,1]
plotspec(specimen=rawdat,digitspec=scallops$coorddata[,,1],fixed=16)

Run the code above in your browser using DataLab