Learn R Programming

pavo (version 1.0.0)

axistetra: Plot reference axes in a static tetrahedral colorspace

Description

Plots reference x, y and z arrows showing the direction of the axes in a static tetrahedral colorspace plot.

Usage

axistetra(x = 0.6, y = 0.8, z = 0.7, size = 0.1, arrowhead = 0.05, col = par("fg"), lty = par("lty"), lwd = par("lwd"), label = TRUE, adj.label = 0.03, label.cex = 1, label.col = NULL)

Arguments

x, y, z
coordinates for the origin position of the arrows
size
length of the arrows. Can be either a single value (applied for x, y and z) or a vector of 3 separate values for each axis.
arrowhead
size of the arrowhead.
col, lty, lwd
graphical parameters for the arrows.
label
logical, include x, y and z labels (defaults to TRUE).
adj.label
position adjustment for the labels. Can be either a single value (applied for x, y and z) or a vector of 3 separate values for each axis.
label.cex, label.col
graphical parameters for the labels.

Value

axistetra adds reference arrows showing the direction of the 3-dimensional axes in a static tetrahedral colorspace plot.