ggplot2怎样不让图例显示?
show.legend=FALSE
举例:
p <- ggplot(data,aes(x=a,y=b)) + geom_line(aes(color=as.factor(ratio)),linetype='dashed', show.legend = FALSE)
Content: