|
From: Gopesh P. <gop...@ya...> - 2007-12-19 10:25:41
|
Hello All,
I have a question about multibranch fit. If you type
'help fit' in gnuplot and then click multibranch fit
then the following syntax will appear for it:
f(x,y) = (y==0) ? a*exp(-x/tau) : b*exp(-x/tau)
fit f(x,y) 'datafile' using 1:-2:2:3 via a, b, tau
Now I want to fit more than 2 parameters with
multibranch fit, for example, in this way:
f(x,y) = (y==0) ? a*exp(-x/tau) : b*exp(-x/tau):
c*exp(-x/tau)
fit f(x,y) 'datafile' using 1:-2:2:3 via a,b,c,tau
but it gives error that ';' is expected.
I have 10 indexes in my datafile. So I want it for 10
parameters.
Any suggestions please?
Regards,
Gopesh
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
|