title: how to read a plot and extract information using python
body: <p>One can use python to create a simple plot:</p>
  
  <pre><code>x=[1,4,6,8]
  y=[4,7,9,101]
  plt.plot(x,y)
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/nrYYS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/nrYYS.png" alt="enter image description here"></a></p>
  
  <p>I just started work with OCR and pytesseract, and wonder if there is a package out there that can take the line graph created above as input  (or another, bar plots, historgrams, etc) and return the corresponding x and y values. (ie, return an approximate value for points x=[1,6,8] return possible values of y=[1,6,100], which is how I eyeball the resulting plot).</p>
  
  <p>Any suggestions of where to read/look would be great.</p>