So there's several useful pages up about marking means on boxplots with multiple series; but even with those I'm having an issue where I can't select a color for the points and still show the two different means. I can do this:

```
library(ggplot2)
d <- subset(mpg,class=="compact"|class=="midsize")
ggplot(d,aes(drv,hwy,color=class)) + geom_boxplot() + scale_color_manual(values=c("blue","orange")) +
  stat_summary(fun=mean,size=.5,shape=5,position=position_dodge(width=.75))

```

And that gives me the two different means, but they're the same color as the boxplots themselves and so not the best to look at.

[![First attempt at boxplot, means distinguished](https://i.stack.imgur.com/wLIyI.png)](https://i.stack.imgur.com/wLIyI.png)

So I add a color specification into the code:

```
ggplot(d,aes(drv,hwy,color=class)) + geom_boxplot() + scale_color_manual(values=c("blue","orange")) +
  stat_summary(fun=mean,size=.5,color="black",shape=5,position=position_dodge(width=.75))

```

But then it's only showing the one mean.

[![second attempt, means not distinguished](https://i.stack.imgur.com/E3wmy.png)](https://i.stack.imgur.com/E3wmy.png)

So what am I missing here to get both a specified color and the multiple means being marked?