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

vol(tcsdata, alpha = 0.2, grid = TRUE, fill = TRUE, new = FALSE,
  view, scale.y, axis, ...)

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.

new

logical. Should a new plot be started or draw over an open plot? (defaults to FALSE)

view, scale.y, axis

deprecated arguments.

...

additional graphical options. See polygon and tetraplot.

Value

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