I was looking for a function in gnuplot to set the name of the file with the fit data. The file 'fit.log'. I know there is something about "set fit logfile 'myfit.log'" but i am not able to set the name of the file.. It always create the file fit.log. Any ideas?
f(x)=a*x+b
fit f(x) 'data.dat' u 2:1 via a,b
set fit logfile 'myfit.log'