As per the commenter above, I need to map color to a variable, the following works ggplot(df, aes(x=cond, y=yval, color = cond)) + ...
確定! 回上一頁