|
From: Junghun S. <jh...@ef...> - 2010-07-21 01:49:02
|
Such things happen when the orders of fitting parameters are too different. I meant, if lambda is 0.7, then n_0 should also be around 1 or 10. So try with a function like: f(x) = 1e12*n_0*exp((-x)/lambda) and initial n_0 at 3. On Mon, Jul 19, 2010 at 6:18 PM, f.hasenbeck <f.h...@fz...> wrote: > Hi! > > I have a problem with an exponential fit. My script looks like this: > > > n_0 = 3.0e+12 > lambda = 0.7 > f(x) = n_0*exp((-x)/lambda) > > fit f(x) '../95896_029/c_001/run/rad_profile_exp_decay_torzone_1.txt' u > ($4-217):2 via n_0, lambda > > > I am using the two fitting parameters n_0 and lambda, but only lambda is > varied by GNUPLOT, no matter which starting value I use vor n_0. This > seems strange since a variation of n_0 also should be able to provide > better fitting results. Is there a solution to this problem so that > GNUPLOT also varies n_0? > > Thank you very much for your help! > > Felix Hasenbeck > > ------------------------------------------------------------------------------------------------ > ------------------------------------------------------------------------------------------------ > Forschungszentrum Juelich GmbH > 52425 Juelich > Sitz der Gesellschaft: Juelich > Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 > Vorsitzender des Aufsichtsrats: MinDirig Dr. Karl Eugen Huthmacher > Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender), > Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt, > Prof. Dr. Sebastian M. Schmidt > ------------------------------------------------------------------------------------------------ > ------------------------------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > |