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