# set terminal pngcairo background "#ffffff" enhanced font "arial,10" fontscale 1.0 size 600, 400 # set output 'fit.7.png' set key bmargin center horizontal Right noreverse enhanced autotitles nobox set title "fit weighted towards low temperatures" set xlabel "Temperature T [deg Cels.]" set ylabel "Density [g/cm3]" l(x) = y0 + m*x y0 = 1.07274734680909 m = -0.00100355638059091 GPFUN_l = "l(x) = y0 + m*x" FIT_CONVERGED = 1 FIT_NDF = 35 FIT_STDFIT = 4.37033908192055e-05 FIT_WSSR = 6.68495229183675e-08 plot 'lcdemo.dat', l(x) ## fit l(x) 'lcdemo.dat' using 1:2:3 via y0, m