I fail to understand how splot works with points given in a data file. Using the example data from the gnuplot website stored in datafile.dat which is
# The valley of the Gnu.
0 0 10
0 1 10
0 2 10
1 0 10
1 1 5
1 2 10
2 0 10
2 1 1
2 2 10
3 0 10
3 1 0
3 2 10
and running on the command line
$ gnuplot
gnuplot> set xlabel "x"
gnuplot> set ylabel "y"
gnuplot> set zlabel "z"
gnuplot> splot "datafile.dat"
I expected however:
- the x axis to be in the range 0 to 3 (seems its using the second data column instead)
- the y axis in the range 0 to 2, not 0 to 3
- the z axis from the third column in the data file which instead is completely ignored
