title: How to change colors in stat_summary()
body: <p>I am trying to plot two columns of raw data (I have used melt to combine them into one data frame) and then add separate error bars for each.  However, I want to make the raw data for each column one pair of colors and the error bars another set of colors, but I can't seem to get it to work.  The plot I am getting is at the link below. I want to have different color pairs for the raw data and for the error bars. A simple reproducible example is coded below, for illustrative purposes.</p>
  
  <pre><code> dat2.m&lt;-data.frame(obs=c(2,4,6,8,12,16,2,4,6),variable=c("raw","raw","raw","ip","raw","ip","raw","ip","ip"),value=runif(9,0,10))
  
      c &lt;- ggplot(dat2.m, aes(x=obs, y=value, color=variable,fill=variable,size = 0.02)) +geom_jitter(size=1.25) + scale_colour_manual(values = c("blue","Red"))
  
     c&lt;- c+stat_summary(fun.data="median_hilow",fun.args=(conf.int=0.95),aes(color=variable), position="dodge",geom="errorbar", size=0.5,lty=1)
  
      print(c)
  </code></pre>
  
  <p><a href="http://i.stack.imgur.com/bFG7U.jpg" rel="nofollow">[1]: http://i.stack.imgur.com/A5KHk.jpg</a></p>