title: How to change legend title and colors in R
body: <p>I have the following code written:</p>
  <pre><code>dev.new()
  ggplot(Depot)+geom_path(mapping=aes(x=time, y=C1,color=&quot;Central Compartment&quot;))+
    geom_path(mapping=aes(x=time,y=C2, color=&quot;Peripheral Compartment&quot;))+
    xlab(&quot;Time (hours)&quot;)+ylab(&quot;Concentration (mg/L)&quot;)`
  </code></pre>
  <p>which gives me the graph below. However, I'd like to be able to change the colors from the defaults that are being assigned, as well as change the legend title from &quot;colour&quot; to something more relevant to my graph.</p>
  <p><img src="https://i.stack.imgur.com/zo9Tf.png" alt="Graph generated" /></p>