gnuplot:使用两个变量拟合2d函数时出错

gnuplot:使用两个变量拟合2d函数时出错,gnuplot,curve-fitting,data-fitting,Gnuplot,Curve Fitting,Data Fitting,我想用“Diff_density_tempCa_allT.dat”来拟合f(x,y),我不知道如何解决这个问题 FIT_LIMIT = 1e-6 f(x,y)=5.82e-03*exp(-(1.248+x*(a+b*y+x*(c+d*y+e/y)))/8.617e-05*y) fit f(x,y) 'Diff_density_tempCa_allT.dat' u 2:3:1:(1) via a,b,c,d,e splot 'Diff_density_tempCa_allT.dat' using

我想用“Diff_density_tempCa_allT.dat”来拟合f(x,y),我不知道如何解决这个问题

FIT_LIMIT = 1e-6
f(x,y)=5.82e-03*exp(-(1.248+x*(a+b*y+x*(c+d*y+e/y)))/8.617e-05*y)
fit f(x,y) 'Diff_density_tempCa_allT.dat' u 2:3:1:(1) via a,b,c,d,e
splot 'Diff_density_tempCa_allT.dat' using 2:3:1:(1) with lines , f(x,y)
错误:

gnuplot> fit f(x,y) 'Diff_density_tempCa_allT.dat' u 2:3:1:(1) via a,b,c,d,e
         warning: 
    > Implied independent variable t not found in fit function.
    > Assuming version 4 syntax with zerror in column 4 but no zerror keyword.

iter      chisq       delta/lim  lambda   a             b             c             d             e            
   0 1.3981000000e+09   0.00e+00  0.00e+00    1.000000e+00   1.001000e+00   1.000000e+00   1.000000e+00   1.000000e+00
         Singular matrix in Givens()

数据文件“Diff\u density\u tempCa\u allT.dat”

欢迎使用StackOverflow!这并没有足够的代码和数据来复制它。请添加一些数据进行测试。您以前是否使用过
set polar
set parametric
?尝试在开始处添加一个
重置会话
。您正在运行哪个gnuplot版本?