如何通过gnuplot安装*e**bx功能?

如何通过gnuplot安装*e**bx功能?,gnuplot,exponential,Gnuplot,Exponential,在我的文件上运行此代码时,它不适合任何内容。 f1(x) = a*e**(b*x) a = -1 b = 10000 fit f1(x) 'myFile.txt' via a,b plot 'myFile.txt' with points lc rgb"blue" title ' ' gnuplot理解“e”吗,还是我们需要声明它的值?i、 e.2.7182.您必须使用exp功能来执行以下操作: f1(x) = a*exp(b*x) a = -1 b = 10000 fit f1(x) 'my

在我的文件上运行此代码时,它不适合任何内容。

f1(x) = a*e**(b*x)
a = -1
b = 10000
fit f1(x) 'myFile.txt' via a,b
plot 'myFile.txt' with points lc rgb"blue" title ' '

gnuplot理解“e”吗,还是我们需要声明它的值?i、 e.2.7182.

您必须使用
exp
功能来执行以下操作:

f1(x) = a*exp(b*x)
a = -1
b = 10000
fit f1(x) 'myFile.txt' via a,b
plot 'myFile.txt' with points lc rgb"blue" title ' '