R语言 ggplot2 笔记

    技术2022-07-10  168

    legend

    设置legend位置和title

    ggplot(df, aes(x, y, colour=g)) + geom_line(stat="identity") + theme(legend.position="bottom") + theme(legend.title=element_blank())
    Processed: 0.009, SQL: 9