set terminal png #出力をpngファイルに指定 set output "fig_test4.png" #pngファイル名指定 set size ratio 0.25 #軸縦横比 set xrange [0:50] #x軸の範囲指定 set xlabel "time (sec)" #x軸ラベル set ylabel "Acceleration (gal)" #y軸ラベル set title "EW-direction" #タイトル set label "inp_ACC_EW1.prn" at graph 0.0,1.1 #ラベル(xは始点,yは中心) set grid xtics ytics mxtics mytics #グリッド表示 #0列(x値)を0.01倍してプロット plot "inp_ACC_EW1.prn" using ($0*0.01):1 with line linetype 4 notitle