Creative Commons License Copyright © Michael Richmond. This work is licensed under a Creative Commons License.

Using Gnuplot to make a linear fit

gnuplot> f(x) = a + b*x
gnuplot> fit f(x) 'electron.dat' using 1:2 via a, b

       ( lots of diagnostic messages )


Final set of parameters            Asymptotic Standard Error
=======================            ==========================

a               = 1.5381           +/- 0.9552       (62.1%)
b               = 9.69143          +/- 0.3155       (3.255%)


Creative Commons License Copyright © Michael Richmond. This work is licensed under a Creative Commons License.