title: python - matplotlib - How to specify the scale for x axis
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/2849286/python-matplotlib-subplot-how-to-set-the-axis-range">Python, Matplotlib, subplot: How to set the axis range?</a>  </p>
  </blockquote>
  
  
  
  <p>I would like to specify the scale of the x-axis for my scatter plot similar to excel.</p>
  
  <p>For example, I feed in the x axis values as follows:</p>
  
  <pre><code>x_values = [10, 20, 30, 40, 50, 60, 70, 80, 90, 100]
  </code></pre>
  
  <p>However, only the numbers with an even 1st digit appear.</p>
  
  <p>Is there a way to make it such that all numbers appear on the x-axis?</p>
  
  <p>Thanks,</p>
  
  <p>Parth</p>