GNUplot在版本5中仅适用于x错误?

GNUplot在版本5中仅适用于x错误?,gnuplot,curve-fitting,least-squares,chi-squared,Gnuplot,Curve Fitting,Least Squares,Chi Squared,我正在尝试使用GNUplot来拟合我的数据。碰巧我的数据只有x误差条。我听说版本5应该只允许使用x错误进行装配。怎么能这样呢?我尝试了以下方法,但如您所见,我遇到了无法解决的错误: gnuplot> fit f(x) "data1m" using 2:3:4 with xerrorbars via b,u,n warning: > Implied independent variable y not found in fit function. > Assuming

我正在尝试使用GNUplot来拟合我的数据。碰巧我的数据只有x误差条。我听说版本5应该只允许使用x错误进行装配。怎么能这样呢?我尝试了以下方法,但如您所见,我遇到了无法解决的错误:

gnuplot> fit f(x) "data1m" using 2:3:4 with xerrorbars via b,u,n
     warning: 
> Implied independent variable y not found in fit function.
> Assuming version 4 syntax with zerror in column 3 but no zerror keyword.

                                        ^
     Need via and either parameter list or file

我如何解决这个问题?

它似乎不仅仅适用于x错误,但您可以使用非常小的常量y错误。 尝试通过b、u、n使用2:3:4:(1E-38)xyerrors拟合f(x)“data1m”