title: How to shift values on the x axis from actual values to axis origin
body: <p>I have data to plot in files structured like this:</p>
  
  <pre><code>(timestamp MegaBytes)
  1487936469 0.003617
  1487936470 0.081604
  1487936471 0.244869
  1487936472 0.322519
  1487936473 0.242145
  1487936474 0.34596
  1487936475 0.385525
  1487936476 0.324402
  1487936477 0.154996
  1487936478 0.24336
  1487936479 0.38952
  1487936480 0.46152
  ...
  </code></pre>
  
  <p>plotting with </p>
  
  <pre><code>using 1:2 with lines lw 3
  set xlabel "seconds"; set ylabel "MB"
  set format x '%.0f'
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/WPwpM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/WPwpM.png" alt="enter image description here"></a></p>
  
  <p>The plot is fine, but the x axis (time) is not nice to see: is there a gnuplot command that allows me to shift from the x range [<code>1487936469</code>,<code>last time stamp</code>] to [<code>0</code>,<code>last value</code>] so that x axis values would start from <code>0</code> instead of <code>1487936469</code>?</p>