我需要在这个情节中包装文字。谁知道怎么做?
我已经尝试过使用check_overlap,但标签彼此非常分开。
ex<-data.frame(x=1:10, y=c(1.732050808, 1.732050808, 1.732050808, 1.732050808, 0.866025404, 0.866025404, 0.866025404, 0.866025404, 0.866025404, 0.866025404
), z="Very very very very very very very very very very long text")
ggplot(ex,mapping = aes(x,y, label = (z)))+
geom_text(size=2, check_overlap = F)+
geom_point()