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

Using Gnuplot to make a quadratic fit

gnuplot> g(x) = c + d*x + e*x*x
gnuplot> fit g(x) 'electron.dat' using 1:2 via c,d, e


       ( lots of diagnostic messages )


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

c               = 0.264286         +/- 0.6441       (243.7%)
d               = 11.6021          +/- 0.6059       (5.222%)
e               = -0.382143        +/- 0.1163       (30.44%)


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