【发布时间】:2018-11-29 00:27:37
【问题描述】:
我通过使用 gnuplot 拟合一些现有点来绘制曲线。
代码如下:
f1(x)=a1/(x**b1)+c1
fit f1(x) "41a091_input.txt" u 1:2 via a1,b1,c1
plot f1(x) with line lt 1 lw 4 lc rgb "blue" notitle, \
'41a091_input.txt' using 1:2:3 with yerrorbars lw 2.2 lc rgb "blue" title "∑41a(091)"
数据如下:
21.8124 1.11693 0.00545168
30.8669 1.07328 0.00485237
44.6701 1.04708 0.00411839
53.6699 1.03787 0.00301346
75.9751 1.02555 0.00304312
我的问题是:
如何从这条曲线上的任意一点获取数据? 比如 x=50 的时候?
【问题讨论】:
标签: gnuplot curve-fitting