Re: [R] ggplot2: How to remove legend component for geom_errorbar() ?

From: hadley wickham <>
Date: Mon, 16 Jun 2008 11:45:35 -0500

> thanks for your tip! It worked fine (though I had to use "tile" instead
> of "point"). I see your point to handle legends the way you do, which is
> a very convenient feature of ggplot. It's great for points, lines, bars
> etc., but in the particular case of error bars, I think it would be
> reasonable to omit them by default and only turn them on if someone
> really wants them (by using something like "legend=TRUE"). Just my two
> cents, for now, I'm happy with your workaround.

Maybe this wouldn't have been such a problem if the legend for error bars actually looked like errorbars! I'll add that to my to do and think about better ways to turn legends off when desired.



______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Mon 16 Jun 2008 - 18:24:40 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 16 Jun 2008 - 18:30:41 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive