R: ggplot2, why does my legend show faded colors?

Posted by John on Stack Overflow See other posts from Stack Overflow or by John
Published on 2010-04-12T00:51:56Z Indexed on 2010/04/12 1:03 UTC
Read the original article Hit count: 280

Filed under:

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:

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

© Stack Overflow or respective owner

Related posts about ggplot2

Related posts about r