Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
"$\alpha$ + $\beta$ is my label"Rpy2内のggplot2プロットのようにxまたはyラベルを作成するにはどうすればよいですか? を使用して、プロットでギリシャ文字を取得しようとしましたr.expression:
"$\alpha$ + $\beta$ is my label"
r.expression
p = ggplot2.ggplot(mydata) + r.xlab(r.expression("alpha"))
しかし、これは機能しません。ギリシャ文字を通常のテキストと一緒にプロットするにはどうすればよいですか?