title: Add color to boxplot - "Continuous value supplied to discrete scale" error
body: <p>There is probably a very easy solution to my problem but I couldn't find a satisfying answer online.  </p>
  
  <p>Using the following command I was able to create the following boxplot graph and overlay it with the individual data points:</p>
  
  <pre><code>ggplot(data = MYdata, aes(x = Age, y = Richness)) + 
    geom_boxplot(aes(group=Age)) + 
    geom_point(aes(color = Age))
  </code></pre>
  
  <p>There are several things I would like to add/change:</p>
  
  <p><strong>1.</strong> Change the line color and/or fill of each boxplot (depending on "Age") using 6 different colors from left to right:</p>
  
  <pre><code>c("#E69F00", "#56B4E9", "#009E73", "#F0E442", "#0072B2", "#D55E00")
  </code></pre>
  
  <p>I tried </p>
  
  <pre><code>ggplot(data = MYdata, aes(Age, Richness)) + 
    geom_boxplot(aes(group=Age)) + 
    scale_colour_manual(values = c("#E69F00", "#56B4E9", "#009E73", 
                                   "#F0E442", "#0072B2", "#D55E00")) 
  </code></pre>
  
  <p>but it results in a <code>"Continuous value supplied to discrete scale"</code> error.</p>
  
  <p><strong>2.</strong> Change the color of each data point (depending on "Age") using 6 different colors from left to right:</p>
  
  <pre><code>c("#E69F00", "#56B4E9", "#009E73", "#F0E442", "#0072B2", "#D55E00")
  </code></pre>
  
  <p>I tried: </p>
  
  <pre><code>ggplot(data = MYdata, aes(Age, Richness)) + 
    geom_boxplot(aes(group=Age)) + 
    geom_point(aes(color = Age)) + 
    scale_colour_manual(values = c("#E69F00", "#56B4E9", "#009E73", 
                                   "#F0E442", "#0072B2", "#D55E00")) 
  </code></pre>
  
  <p>but it also results in an error:</p>
  
  <blockquote>
    <p>Continuous value supplied to discrete scale</p>
  </blockquote>
  
  <p><strong>3.</strong> Change the text in the legend to "0 month", "1 month", "3 months", "6 months", "9 months", "12 months"</p>