---gnuplot---

グラフの名前を左に
set key left

epsで色付きで保存
set term postscript eps enhanced color
set out "~~~.eps"
replot

線の形式、色、太さ
plot ~~~ lt 2 lc rgb "red" lw 10
lt(linethpe)は1-10まで、lc(linecolor)には色、lw(linewidth)には1-20。

フィット、プロット
fit a*x+b "sampledata4.txt" via a,b
plot "sampledata4.txt" , a*x+b