reset set encoding iso_8859_1 set title "B in Abhängigkeit vom Erregerstrom" set xlabel "[I_{er} in A]" set ylabel "[B in T]" set grid xtics ytics set key top left #f(x) = m * x + a #fit f(x) 'DatenEntladung.txt' us ($1)-0.400:(($1)-t1-0.400)/(C*(log(U1) - log($2))) via m,a plot \ 'DatenErregerstrom.txt' us ($1):($2) notitle lt 1 set output "erregerstrom.eps" set term postscript enhanced eps color; replot