Description Usage Arguments Details Author(s) See Also Examples

A function to plot three-dimensional (3D) specimen along with its landmarks.

1 2 |

`spec` |
An object of class shape3d/mesh3d, or matrix of 3D vertex coordinates. |

`digitspec` |
Name of data matrix containing 3D fixed and/or surface sliding coordinates. |

`fixed` |
Numeric The number of fixed template landmarks (listed first in digitspec) |

`ptsize` |
Numeric Size to plot the mesh points (vertices), e.g. 0.1 for dense meshes, 3 for sparse meshes |

`centered` |
Logical Whether the data matrix is in the surface mesh coordinate system (centered=FALSE) or if the data were collected after the mesh was centered (centered=TRUE)- see details. |

`...` |
additional parameters which will be passed to |

Function to plot 3D specimens along with their digitized "fixed" landmarks and semilandmarks
"surface sliders" and "curve sliders". If specimen is a 3D surface (class shape3d/mesh3d) mesh is plotted.
For visualization purposes, 3D coordinate data collected using `digit.fixed`

or
`digitsurface`

and `buildtemplate`

prior to build 1.1-6 were centered by default.
Therefore use this function with centered=TRUE. Data collected outside geomorph should be read using
centered=FALSE. The function assumes the fixed landmarks are listed at the beginning of
the coordinate matrix (digitspec).

Erik Otarola-Castillo & Emma Sherratt

`rgl-package`

(used in 3D plotting)

1 2 3 4 | ```
# data(scallopPLY)
# ply <- scallopPLY$ply
# digitdat <- scallopPLY$coords
# plotspec(spec=ply,digitspec=digitdat,fixed=16, centered =TRUE)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.