title: python matplotlib changing default axis for image
body: <p>I am in an interesting situation.
  I have the diagram's image with axis</p>
  <p><a href="https://web.archive.org/web/20190825172625/http://i49.tinypic.com/35iacrk.jpg" rel="nofollow noreferrer"><img src="https://web.archive.org/web/20190825172625/http://i49.tinypic.com/35iacrk.jpg" alt="IMG" /></a></p>
  <p>So when I try to plot this diagram wiht the next code:</p>
  <pre><code>plt.figure(&quot;Ti Zr&quot;)
  ax = plt.subplot(111)
  im = plt.imshow(np.flipud(plt.imread('Ti_ZrB.png')), 
      origin='lower', 
      extent=[0, 800, 1000, 32700])
  plt.xticks([10,15, 43, 95, 215,542,800])
  plt.yticks([1000, 1860, 2670, 8600, 16600,32700])
  
  plt.axis('normal')
  plt.show()
  </code></pre>
  <p>Before uploading the image I have just only cut out the axis numbers on Corel.
  Finaly I have got this</p>
  <p><a href="https://i.stack.imgur.com/YTuBq.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YTuBq.png" alt="IMG" /></a></p>
  
  <p>As you can see the axis has been displaced and they are not in their own place.
  Usually i use this way to plotting  diagrams and before I haven't any problems whit it.
  But now I haven't any idea.
  Thank you in advance. I would be so grateful for some help</p>