I am not sure how to use the aes angle
in geom_label
. I thought this code below would rotate the labels by 45, but it doesn't.
library(ggplot2)
ggplot(data = mtcars[1:4,]) +
geom_label(aes(x = mpg, y = qsec, label=disp), angle = 45)
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…