Gnuplot: Defining an x axis based on the order of my values
<p>I have some data </p>

<pre><code>20,10.00
21,10.00
22,10.00
23,09.00
00,10.00
01,10.00
...
</code></pre>

<p>I want to graph the first value on the x axis and the second value on the y axis. I want the y axis to be autoset but I want the x axis to follow in line with my data eg. <code>20, 21, ..., 0, 1...</code>  instead of <code>0, 1, ..., 23</code> </p>

<p>I thought I would do this with xticlabels, stating <code>plot "filename" using xticlabels(1):2</code> or, as inspired by <a href="https://stackoverflow.com/questions/8922936/gnuplot-xrange-not-really-a-range?rq=1">this</a>, <code>1:2:xticlabels(1)</code>. Neither has the desired effect. What am I to do?</p>