How can I rotate labels in ggplot2? [duplicate]
问题 This question already has an answer here : How to use angle in geom_label? (1 answer) Closed 7 hours ago . I have a scatter graph with lables. I want to rotate lables - instead of horizontal position I want to see them vertically. I only saw q-s about rotating axis lables on Stackoverflow. Sample: mtdata <- mtcars %>% rownames_to_column(var = "name") ggplot(mtdata, aes(x = mpg, y = wt)) + geom_point() + geom_label(data = mtdata %>% filter(mpg > 20 & wt >3), aes(label = name)) 回答1: You can use