title: How can I change my R code so that there are three lines representing data from different blocks? How can I change my code to edit the legend?
body: <p>Here is the code I used to produce my figure:</p>
  <pre><code>Running_Accuracy_Across_Addition %&gt;%
    ggplot(mapping = aes(x = Trials, y = Accuracy, group = Block, color = Block)) + 
    scale_x_discrete(name = &quot;Trials&quot;, limits = c(&quot;First Ten&quot;, &quot;Second Ten&quot;, &quot;Third Ten&quot;, &quot;Fourth Ten&quot;), labels = c(&quot;First Ten&quot; = &quot;5&quot;, &quot;Second Ten&quot; = &quot;15&quot;, &quot;Third Ten&quot; = &quot;25&quot;, &quot;Fourth Ten&quot; = &quot;35&quot;)) +
    scale_y_continuous(name = &quot;Proportion of Correct Addition Responses Over 10 Trials&quot;, limits = c(0,1.0)) +
    geom_line() +
    geom_point(alpha = 0.5, size = 0.8) +
    theme(panel.grid.major = element_blank(), panel.grid.minor = element_blank(),
  panel.background = element_blank(), axis.line = element_line(colour = &quot;black&quot;), text = element_text(family=&quot;Times New Roman&quot;, size = 12)) +
    labs(title = &quot;Change in Addition Response Accuracy As The Amount of Available Time Reduces&quot;, x = &quot;Trials&quot;, y = &quot;Proportion of Correct Addition Responses Over 10 Trials&quot;)
  </code></pre>
  <p>Here is an image of the figure:</p>
  <p><a href="https://i.stack.imgur.com/ou439.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ou439.png" alt="enter image description here" /></a></p>