ggplot (mtcars) + geom_point(aes(disp, mpg, color = factor(cyl))). As you can see, the legend acts as a guide for the color aesthetic.
確定! 回上一頁