title: Drawing a line through points; matplotlib
body: <p>For my graph, I have constructed a series of points like so</p>
  
  <pre><code> for x in range (0,9):
       plt.scatter(r[x],functions[x],color='green')
  </code></pre>
  
  <p>where r[x] and functions[x] are both arrays with 9 elements. </p>
  
  <p>The scatter plot works fine; however, I was wondering if there was anyway I could draw a line instead of just some points. Or if I can draw a line through the points.
  Thanks in advance </p>