# set terminal pngcairo transparent enhanced font "arial,10" fontscale 1.0 size 500, 350 # 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.07274734680907 m = -0.00100355638059042 GPFUN_l = "l(x) = y0 + m*x" FIT_CONVERGED = 1 FIT_NDF = 35 FIT_STDFIT = 4.37033908191998e-05 FIT_WSSR = 6.684952291835e-08 plot 'lcdemo.dat', l(x) ## fit l(x) 'lcdemo.dat' using 1:2:3 via y0, m