title: curve fitting and matplotlib
body: <p>I have these these three variables and I want to plot the relationship between two of them two variables:</p>
  
  <pre><code>x = [0.125735  , 0.11753342, 0.11572967, 0.11963533, 0.1255283 ,
         0.13183589, 0.13904629, 0.14754317, 0.15548172, 0.16429631,
         0.17474308, 0.18641375]
  y = [0.11917991, 0.10663986, 0.09897077, 0.09291739, 0.08743263,
         0.08346636, 0.08161819, 0.08132199, 0.08216186, 0.0834759 ,
         0.08551088, 0.08770163]
  z = [1, 2, 3, 4, 5,
         6, 7, 8, 9, 10 ,
         11, 12]
  
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/zzztL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zzztL.png" alt="enter image description here"></a></p>
  
  <p>the image shows <code>x,y</code>. I want to fit a line that goes through all of these points and label each point with <code>z</code>.</p>