可以使用 scale_color_manual 设置自定义颜色,并且可以使用 labs 固定图例标签。 ggplot(data=Summary)+ geom_line(mapping=aes(y=Y1,x= X,color="Y1"),size=1 ) + ...
確定! 回上一頁