Just a simple question (I imagine) but, lets say I have the following data file:
# no x data, it\'s sampled for instance each second. 23 42 48 49 89 33 39 4
E.g. to plot the third line of the datafile:
plot "DATAFILE" u 3
or with awk:
awk
plot "
Note that awk adds linenumbers, so the first column is linenumber.
does the same, gnuplot is automatically using the line-number for the x-axis