title: How to shift a graph along the x-axis?
body: <p>I need to plot time-series data. Here is the sample code:</p>
  
  <pre><code>ax2 = pyplot.subplot(212)
  true_targets = pyplot.plot(test_y[:, 0, :])
  guessed_targets = pyplot.plot(test_y_hat[:, 0, :], linestyle='--')
  </code></pre>
  
  <p>And it produces the following graph:</p>
  
  <p><a href="https://i.stack.imgur.com/nqzBW.png" rel="noreferrer"><img src="https://i.stack.imgur.com/nqzBW.png" alt="plot as I have it now"></a></p>
  
  <p>I want to shift the graph to the right along x-axis (start from 1 instead of 0).</p>