端末上で,gnuplot と入力する.
plot "foo.dat" u 1:3 w l と入力すると、データファイル "foo.dat" の第1列を横軸,第3列を縦軸としてグラフを描きます。
その他、以下のような使い方ができます:
plot "foo.dat" with line もしくは省略形を使って plot "foo.dat" w l
plot "foo.dat" with linespoint
plot "foo.dat" t "2nd column" w l, "foo.dat" u 1:3 t "3rd column" w l
plot "foo.dat" title "This is from foo.dat", "bar.dat" title "This is from bar.dat"
set logscale xy としてから,plot する
set logscale x
set logscale y
set xrange [0:10]
quit
help plot help set xrange