reset set encoding iso_8859_1 set title "Spannungsverstärkung bei R_B = 0 {/Symbol W}" set xrange [5e-3:12e-3] set xlabel "[U_{e} in V]" set ylabel "[U_{a} in V]" set grid xtics ytics set key top left f(x) = a*x + b fit f(x) 'DatenSpannungsverstarkungRB0.txt' us ($2):($1) via a,b plot 'DatenSpannungsverstarkungRB0.txt' us ($2):($1) title 'Messwerte' lt 1, \ f(x) title 'Ausgleichsgerade' lt 3 set output "spannungsverstarkungrb0.eps" set term postscript enhanced eps color; replot