Usage
tcsplot(tcsdata, size = 0.02, alpha = 1, col = "black",
vertexsize = 0.02, achro = TRUE, achrosize = 0.01, achrocol = "grey",
lwd = 1, lcol = "lightgrey", new = FALSE, hspin = FALSE,
vspin = FALSE, floor = TRUE, grid = TRUE, fill = TRUE)tcspoints(tcsdata, size = 0.02, col = "black", alpha = 1)
tcsvol(tcsdata, col = "black", alpha = 0.2, grid.alpha = 1, grid = T,
fill = T, lwd = 1)
Arguments
tcsdata
(required) a data frame, possibly a result from the colspace
function, containing values for the 'x', 'y' and 'z' coordinates as columns (labeled as such)
size
size of the points in the plot (defaults to 0.02)
alpha
transparency of points (or volume fill in tcsvol
)
col
color of the points in the plot (defaults to black)
vertexsize
size of the points at the vertices
achro
plot a point at the origin? (defaults to TRUE
)
achrosize
size of the point in the achromatic center
achrocol
color of the point in the achromatic center
lwd, lcol
graphical parameters for the edges of the tetrahedron.
new
should a new 3D plot be called (defaults to FALSE
)?
hspin
if TRUE
, the graphic will spin horizontally (around the 'z' axis)(defaults to FALSE
)
vspin
if TRUE
, the graphic will spin vertically (around the 'x' axis)(defaults to FALSE
)
floor
if TRUE
, a reference xy plane is plotted under the tetrahedron (defaults to TRUE
)
grid
if TRUE
, connects the polygon outlining the volume occupied by points (defaults to TRUE
)
fill
if TRUE
, fills the volume occupied by points (WARNING: transparency
is not saved properly if exported using rgl.postscript
)(defaults to TRUE
).
grid.alpha
transparecny of the volume polygon grid lines