3
我试图将以下表达式转换为我的ggplot2
的刻度线:x \to y
其中\to
是通常的乳胶箭头符号。什么是正确的方式来做到这一点? expression(x%to%y)
似乎没有工作。将LaTex中的符号转换为g中的ggplot2 R
我试图将以下表达式转换为我的ggplot2
的刻度线:x \to y
其中\to
是通常的乳胶箭头符号。什么是正确的方式来做到这一点? expression(x%to%y)
似乎没有工作。将LaTex中的符号转换为g中的ggplot2 R
使用
%->%
例如
plot(1, type='n')
text(1,1, expression(x %->%y))
的各种箭头?plotmath
x %<->% y # x double-arrow y
x %->% y # x right-arrow y
x %<-% y # x left-arrow y
x %up% y # x up-arrow y
x %down% y # x down-arrow y
x %<=>% y # x is equivalent to y
x %=>% y # x implies y
x %<=% y # y implies x
x %dblup% y # x double-up-arrow y
x %dbldown% y # x double-down-arrow y
中描述
如果你想真 LaTex,那么你可以试图让tikzDevice工作为您的版本R