Skip to content
Prev 277629 / 398506 Next

boxplot strange behavior

And you got a reply on the ggplot2 list, which is why you're asked not
to cross-post.

For those who are wondering, geom_boxplot() in the ggplot2 package
will by default plot outside points along the same line as the boxplot
whiskers at their actual values. The gentleman jittered the original
points in a separate call to geom_point(), so the result is that the
outside points are plotted twice - once along the whisker lines (in
black) from geom_boxplot() and once as jittered points with alpha
transparency from geom_point(). Since jitter can be positive or
negative in either the horizontal direction, confusion ensues...

Dennis

On Wed, Nov 16, 2011 at 11:16 AM, Giovanni Azua
<azuagarg at student.ethz.ch> wrote: