问答详情
源自:3-9 ggplot2绘图系统之ggplot

library(RColorBrewer) myColors<-c(brewer.pal(5,"Dark2"),"black") display.brewer.pal(5,"Dark2") ggplot(airquality,aes(Wind,Temp,color=factor(Month)))+ geom_point()+ stat_smooth(method = "lm",se=FALSE,aes(group=1))+ stat_smooth(method = "lm",se=FALSE

为什么出来的线条颜色和前面一样


提问者:慕九州2984013 2017-04-11 20:35

个回答

  • 加百力
    2017-05-26 19:25:20

    没有重现出结果。楼主加油