Hi Giovanni,
A reproducible example would help. Also, since I think this will be
tricky, it might be a good idea to post it to the ggplot2 mailing list
(you can register at http://had.co.nz/ggplot2/ ).
Best,
Ista
On Sat, May 1, 2010 at 1:34 PM, Giovanni Azua <bravegag at gmail.com>
wrote:> Hello,
>
> I create a simple ggplot that only shows a straight line. I then add three
datasets of CI using the geom_errorbar function. The problem is that I can't
find any way to have the legend showing up ... I need to show what each ?color
of the CIs corresponds to i.e. which method.
>
> Can anyone advice please?
> TIA,
> Best regards,
> Giovanni
>
> ______________________________________________
> 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.
>
--
Ista Zahn
Graduate student
University of Rochester
Department of Clinical and Social Psychology
http://yourpsyche.org