legend 设置legend位置和title ggplot(df, aes(x, y, colour=g)) + geom_line(stat="identity") + theme(legend.position="bottom") + theme(legend.title=element_blank()) 相关文章: 2022-12-23 2022-12-23 2022-12-23 2022-12-23 2022-01-07 2022-12-23 2021-05-25 2021-12-13