theme_arrowcustomlength
(or its aliasses),
then the user can specify a single scalar value which apply to all three (3) arrows, or, alternatively, can provide a numeric vector
of length three (3), one for each arrow respectively.theme_arrowcustomlength(start = getOption("tern.arrowstart"),
finish = getOption("tern.arrowfinish"))theme_arrowlength(start = getOption("tern.arrowstart"),
finish = getOption("tern.arrowfinish"))
theme_arrowsmall()
theme_arrowshort()
theme_arrownormal()
theme_arrowdefault()
theme_arrowlarge()
theme_arrowlong()
theme_arrowcustomlength
or theme_arrowlength
(alias) sets the ternary arrow lengths to values as specified by the user,
occupying a length between the values as specified by the start
and finish
arguments (fractions) relative to the
length of the ternary axis.theme_arrowsmall
or theme_arrowshort
(alias) reduces the ternary arrows to short arrows, occupying a length between
0.4 and 0.6 of the length of the ternary axistheme_arrownormal
or theme_arrowdefault
(alias) reduces the ternary arrows to normally sized arrows, occupying a length between
getOption("tern.arrowstart")
and getOption("tern.arrowfinish")
global option values, whatever they may be.theme_arrowlarge
or theme_arrowlong
(alias) increases the ternary arrows to long arrows occupying a length between
0.2 and 0.8 of the length of the ternary axistheme_hidearrows
command, or the theme(axis.tern.showarrows=FALSE)
theme element), then under such circumstance,
these convenience functions will turn ON the ternary arrows, essentially running theme_showarrows
or theme(axis.tern.showarrows=TRUE)
theme_arrowbaseline
and theme(axis.tern.arrowsep=X)
for methods to adjust the separation distance of the ternary arrows
from the ternary axes.#Create base plot
#plot <- ggtern(data=data.frame(x=1,y=1,z=1),aes(x,y,z)) + geom_point()
#Pre-Specified Values
plot + theme_arrowsmall()
## Alternatives, Uncomment lines below
#plot + theme_arrownormal()
#plot + theme_arrowlarge()
#plot + theme_arrowcustomlength(.1,.8)
#plot + theme_arrowlength(start=c(.1,.2,.3),finish=c(.9,.8,.7))
Run the code above in your browser using DataLab