title: How to change line and shape colours in ggplot2?
body: <p>I have a data frame like this one:</p>
  
  <pre><code>x &lt;- data.frame(time = c('1', '2', '3'), perc = c(0.2, 0.4, 0.6, 0.3, 0.55, 0.69, 0.2, 0.22, 0.35), type=c(rep('a', 3), rep('b', 3), rep('c', 3)))
  </code></pre>
  
  <p>and want to do a plot like this (below) but using these different colors <code>c('#0023a0', '#f9a635', '#bebec0')</code>:</p>
  
  <pre><code>ggplot(x, aes(time, perc, group=type, colour=type, shape=type)) + geom_point(size=4) + geom_line(size=1)
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/1mcX7.jpg" alt="enter image description here"></p>
  
  <p>I have already tried different ways using <code>scale_colour_hue</code>, <code>scale_shape_discrete</code> and <code>scale_fill_manual</code>, but without any success.</p>