标签: r ggplot2
我无法按升序对x轴排序。我尝试使用下面提到的代码,但它不起作用。如何按升序订购x轴?
mydata$Quarter <- reorder(mydata$Quarter, mydata$Fund) ggplot(data=mydata1,aes(Quarter))+ geom_point(aes(x = Quarter, y = Ratio, color = Fund))+ theme(axis.text.x = element_text(angle = 65, hjust = 1))