ggplot2中geom_segment函数的用法 1、 >coor <- data.frame( x = c(3,4,5),y = c(10,20,30),+xend = c(2.5,3.5,4.5), yend = c(20,30,10))>coor x y xend yend13102.52024203.53035304.510> ggplot(mtcars, aes(x = drat, y = mpg)) + geom_line() + + geom_segment(data = coor...