title: How can I change the x-axis labels in a Python plot?
body: <p>I have this code : </p>
  
  <pre><code>import numpy as np
  import pylab as plt
  
  a = np.array([1,2,3,4,5,6,7,8,9,10])
  b = np.exp(a)
  plt.plot(a,b,'.')
  plt.show()
  </code></pre>
  
  <p>The code works fine, but I need to modify the x-axis labels of the plot.
  I would like the x-axis labels to be all powers of 10 according to the <code>a</code> axis inputs. for the example code, it would be like [10^1, 10^2, ..., 10^10].</p>
  
  <p>I would appreciate any suggestions.</p>
  
  <p>Thank you !</p>