element_ternary(showarrows = TRUE, padding = 0.1,
arrowsep = 0.075, arrowstart = 0.3, arrowfinish = 0.7,
vshift = 0.25 * padding, hshift = 0,
ticklength.major = 0.02, ticklength.minor = 0.01)
ggplot2
which permits absolute distances
(ie say unit(1,"cm")) via the grid
package,
are instead defined as a relative length to the limits
imposed by the underlying x
and y
axes. For example, the ternary axes are rendered directly onto
the plot area, (rather than using an exclusive grid
component) and since the x
limits (unless changed)
are between [0,1]
, then a relative length of
0.02
represents a length that is approximately
2%
of the plot edges from tip to tip. Elements
which are subject to this include the padding
,
arrowsep
, ticklength.major
and
ticklength.minor
. This is perhaps not ideal,
however, seemed to be a necessary sacrifice in order to
produce these plots.