Here is an othe approach: How you can use scale_color_manual : p <- ggplot(myData, aes(x = year, y = value, color=country)) + geom_line() p + ...
確定! 回上一頁