How to set xticks and yticks with my imshow plot?
<p>My code</p>

<pre><code>import numpy as np
import matplotlib.pyplot as plt

with open('nm.dat','r') as f:
    vst = map(float, f)

print vst    

a=np.asarray(vst)
print len(a)

a11=a.reshape(4,22)

plt.imshow(a11, cmap='hot', interpolation='nearest')
plt.colorbar()
plt.show()
</code></pre>

<p>My image
<a href="https://i.stack.imgur.com/SB0i6.png" rel="noreferrer"><img src="https://i.stack.imgur.com/SB0i6.png" alt="enter image description here"></a></p>

<p>I would like my x axis to be marked with equidistant 0,8,16,24,32,40,48,56,64,72,80,88 ticks.For y axis 0,2,4,6,8.
How to solve this? </p>