[R] nesting scale_manual caracteristics in ggplot
Dennis Murphy
djmuser at gmail.com
Wed Nov 9 01:26:08 CET 2011
As I mentioned earlier, if you use different labels/breaks/titles for
the legends, you'll get separate legends in a ggplot. I'm assuming you
want to keep your original labels in scale_shape_manual(); there's no
problem if you do that. The code I provided showed you how to align
all three legends; if you want one to be different, change its labels
and a second legend will appear. Couldn't be simpler ;)
Dennis
On Tue, Nov 8, 2011 at 1:20 PM, Sigrid <s.stenerud at gmail.com> wrote:
> Hi Dennis,
>
> Thank you, it looks much better now the three characteristics are combined
> in the label. However, I would like to keep two different sets of labels on
> the side as I want to describe lines for each facet (high and low). Do you
> think this is possible, without breaking up the characteristics again?
>
> Cheers
>
>
> --
> View this message in context: http://r.789695.n4.nabble.com/nesting-scale-manual-caracteristics-in-ggplot-tp4017171p4017523.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
More information about the R-help
mailing list