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
為什么出來的線條顏色和前面一樣
2017-05-26
沒有重現(xiàn)出結果。樓主加油