Gregory
2011-08-14 18:37:19 UTC
Hello,
I'm creating a single graph with 5 overlapping density plots. Each is
given its own color through the "colour" parameter in aes(). The
resulting legend is a square box with a 45 degree line through it in
the corresponding colors. I would like, however, for the box to be
fully fill in, rather than just have a thin 45 degree line through it.
I wouldn't mind having the legend symbol be a filled-in circle as
well. Is this possible in ggplot2? I'll use the development version if
needed: the previous version of this project I did in lattice, and I
like to move to ggplot2, but I'm required to keep consistent-looking
graphs.
Thanks,
Gregory
I'm creating a single graph with 5 overlapping density plots. Each is
given its own color through the "colour" parameter in aes(). The
resulting legend is a square box with a 45 degree line through it in
the corresponding colors. I would like, however, for the box to be
fully fill in, rather than just have a thin 45 degree line through it.
I wouldn't mind having the legend symbol be a filled-in circle as
well. Is this possible in ggplot2? I'll use the development version if
needed: the previous version of this project I did in lattice, and I
like to move to ggplot2, but I'm required to keep consistent-looking
graphs.
Thanks,
Gregory