title: Python, Pyplot: Change appearance of axis without changing axis itself
body: <p>I have an array (<code>grmf</code>) of 2000 values, corresponding to a measurement scanning 7990 - 8010 MHz. The x values are stored from 0 to 1999.</p>
  <pre><code>import numpy as np
  from matplotlib import pyplot as plt
  
  xaxis = np.arange(2000)
  grmf = 3 * xaxis    #let's just use this as dummy data
  plt.plot(xaxis, grmf, label=&quot;measurement&quot;)
  plt.show()
  </code></pre>
  <p>I want the x axis to simply display the values 7990 (corresponding to 0) and 8010 (corresponding to 1999) so that it's easier to identify where a peak is roughly located by first glance e.g.</p>
  <p>Since there are other functions in the plot and <code>xaxis</code> is used in more ways than just this plot I can neither change the axis nor the array <code>xaxis</code> but just want to change the graphical appearance. From what I've found it seems like <code>put.xticks</code> seems to be the way to go, but it hasn't really worked out yet the way I want it.</p>