Question

Why is my legend faded in these examples below? Notice how the colours in the legend are not as vivid as the colours in the plot:

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 a close-up alt text http://img163.imageshack.us/img163/4715/screenshot20100411at725.png

Was it helpful?

Solution

I think they are the same colour - it's the different surrounds that make them look different.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top