R: ggplot2 why is my legend showing faded colors?

Why did my legend disappear in these examples below? Note that the colors in the legend are not as vibrant as the colors in the graph:

library(ggplot2)
r <- ggplot(data = diamonds, aes(x = carat, y = price, color = cut, group = cut))
r + geom_smooth() #(left)
r + geom_smooth(size = 2)  #(right)

      

alt text

EDIT: Added close-up alternative text http://img163.imageshack.us/img163/4715/screenshot20100411at725.png

+2


source to share


1 answer


I think they are the same color - they are different surroundings that make them look different.



+2


source







All Articles