reset set encoding iso_8859_1 set title "Spannungsverstärkung bei R_B = 680 {/Symbol W}" set xrange [5e-3:24e-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) 'DatenSpannungsverstarkungRB680.txt' us ($2):($1) via a,b plot 'DatenSpannungsverstarkungRB680.txt' us ($2):($1) title 'Messwerte' lt 1, \ f(x) title 'Ausgleichsgerade' lt 3 set output "spannungsverstarkungrb680.eps" set term postscript enhanced eps color; replot