Learn R Programming

pavo (version 1.0.0)

vol: Plot a tetrahedral color space

Description

Produces a 3D convex hull in tetrahedral color space when plotting a non-interactive tetrahedral plot.

Usage

vol(tcsdata, alpha = 0.2, grid = TRUE, fill = TRUE, xlim = NULL, ylim = NULL, zlim = NULL, view = NULL, scale.y = NULL, margin = NULL, axis = FALSE, new = FALSE, ...)

Arguments

tcsdata
(required) object of class colspace.
alpha
transparency of volume (if fill = TRUE).
grid
logical. if TRUE (default), draws the polygon outline defined by the points.
fill
logical. if TRUE (default), fills the volume defined by the points.
xlim, ylim, zlim, view, scale.y, margin, axis
plotting parameters in case of a new plot. see tetraplot.
new
logical. Should a new plot be started or draw over an open plot? (defaults to FALSE)
...
additional graphical options. See link{polygon}.

Value

vol creates a 3D convex hull within a static tetrahedral plot.