View source: R/triangle_diagram.R
triangle_vectormap | R Documentation |
Plot triangle vector map.
triangle_vectormap(
x,
y,
vx,
vy,
xlab = "",
ylab = "",
zlab = "",
vlim = NA,
arrow.len = 0.05,
arrow.headlen = 0.1,
col = rev(gray.colors(20))
)
x |
position of first element. |
y |
position of second element. Note that the third element is not required because z is always 1-x-y. |
vx |
vector/allow of first element. |
vy |
vector/allow of second element. Note that the third element is not required because z is always 1-x-y. |
xlab |
label of x-axis |
ylab |
label of y-axis |
zlab |
label of z-axis |
vlim |
maximum length of vector |
arrow.len |
length of the arrow |
arrow.headlen |
head length of the arrow |
col |
color of the vector |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.