simple example of gnuplot

Solution 1:

This is the default behaviour for single column files. The difference is that the standard numbering is to number x=0,1,2,...

Here's my data (in file temp.dat)

12 
43 
65 
76 
12 
56

Plot with

    gnuplot> plot "temp.dat" with linespoints title "Single column data"

or similar.

To shift the x-axis so that x=1,2,3...

    gnuplot> plot "temp.dat" using ($0+1):1 with linespoints title "Single column data"