ggplot2 color - Displays a different color when specified 'red'
问题 I am trying to understand how ggplot2 handles the aesthetics for color. The two ggplot commands shown below display different colors.The second command displays a lighter color, and in addition prints a legend. I appreciate if anyone can throw some light on this concept. data(iris) #1st command ggplot(iris) + geom_point(aes(Sepal.Length,Sepal.Width), color = "red") #2nd command ggplot(iris) + geom_point(aes(Sepal.Length,Sepal.Width, color = "red")) 回答1: aes() maps between variables in the