我有这样的情节:
fake = data.frame(x=rnorm(100), y=rnorm(100))
ggplot(data=fake, aes(x=x, y=y)) + geom_point() + theme_bw() +
geom_vline(xintercept=-1, linetype=2, color="red") +
annotate("text", x=-1, y=-1, label="Helpful annotation", color="red")
Run Code Online (Sandbox Code Playgroud)

如何将带注释的文本旋转90度,使其与参考线平行?