#Terminalの変更 #Helvetica -> Arial系フォント #Times -> Times New Roman系フォント #set terminal postscript enhanced eps color "Helvetica-Bold" 24 #set terminal postscript enhanced eps color "Sans-Serif-Bold" 24 set terminal postscript enhanced eps color "Times-Bold" 24 #凡例の位置 set key right top #set key right bottom #set key left top #set key left bottom #補助線の指定 #set grid xtics #set grid ytics set mxtics 5 set mytics 5 set tics scale 2 #set tics out #対数軸 #set logscale x 10 #set logscale y 10 #グラフの比率 ratio 1.0で正方形 set size ratio 1.0 #CSV形式の場合にコメントを外す #set datafile separator "," #散布図、pointで書く場合に使用 set style line 1 pt 6 ps 2 lt 1 lc rgb "black" set style line 2 pt 6 ps 2 lt 1 lc rgb "red" set style line 3 pt 6 ps 2 lt 1 lc rgb "blue" set style line 4 pt 6 ps 2 lt 1 lc rgb "dark-green" set style line 5 pt 6 ps 2 lt 1 lc rgb "purple" set style line 6 pt 6 ps 2 lt 1 lc rgb "gray" #散布図、時系列データなど線で書く場合に使用 set style line 1 lt 1 lc rgb "black" set style line 2 lt 1 lc rgb "red" set style line 3 lt 1 lc rgb "blue" set style line 4 lt 1 lc rgb "dark-green" set style line 5 lt 1 lc rgb "purple" set style line 6 lt 1 lc rgb "gray" #散布図、時系列データなど線で書く場合のスムージング #smooth csplines #smooth bezier #smooth acsplines #グラフのフォーマット(基本情報) #枠線は太く、ラベル位置を微調整 set border lw 2.5 set xl "x-label [-]" set yl "y-label [-]" offset 2,0 set xr [:] set yr [:] set output "format.eps" p sin(x) w l ls 1 #p "test.dat" u ($1*1000):($2/1000) w l ls 1 title "test" #グラフのフォーマット(基本情報) #凡例、軸ラベル消去バージョン set border lw 2.5 set xl "" set yl "" set format x "" set format y "" set xr [:] set yr [:] set nokey set output "format-nokey.eps" p sin(x) w l ls 1 #p "test.dat" u ($1*1000):($2/1000) w l ls 1 title "test"