10 lines
175 B
Python
10 lines
175 B
Python
run("CPython/wrapper")
|
|
|
|
y = [0,2,5,8,15,25, 20, 16,4,-2,-5]
|
|
x = [0,10,20,30,40,50, 60, 70, 80, 90, 100]
|
|
|
|
r = hfitoff(y, x)
|
|
print r
|
|
|
|
plot([y,r[6]], ["data", "fit"], [x, r[5]])
|