You can use the following basic syntax to specify line colors in ggplot2: ggplot(df, aes(x=x, y=y, group=group_var, color=group_var)) + ...
確定! 回上一頁