#!/usr/bin/gnuplot -c # oscilloscope-like gnuplot # Usage: osc.plot "DATA.txt" if (ARGC < 1) quit DATA = ARG1 set xlabel "time {/:Italic t}" font "Times,24" set ylabel "value" font "Times,24" set lmargin 12 set bmargin 4 set title "oscilloscope" set key autotitle columnheader # 先頭行の項目名を凡例ラベル化 #unset key # 凡例を非表示化 plot for [i=2:*] DATA using 1:i with lines lw 3 # 各行の第1列を横軸,第i軸を縦軸として折線グラフ化 pause -1