|
From: <HBB...@t-...> - 2007-07-24 20:36:16
|
Shigeharu TAKENO wrote: > the following example may have a misprint which was pointed out > in Japanese gnuplot BBS by Prof. Tatsuro MATSUOKA. I send the > unified diff file for it. > > ----- From here ----- > --- gnuplot.doc~ 2007-07-24 11:26:58.000000000 +0900 > +++ gnuplot.doc 2007-07-24 11:27:43.000000000 +0900 > @@ -3694,7 +3694,7 @@ > a different data set but having a common decay time, estimate the values of > the parameters. If the datafile has the format x:z:s, then > f(x,y) = (y==0) ? a*exp(-x/tau) : b*exp(-x/tau) > - fit f(x,y) 'datafile' using 1:-1:2:3 via a, b, tau > + fit f(x,y) 'datafile' using 1:-2:2:3 via a, b, tau That's not really a misprint. As the text above mentions, both -1 and -2 can be correct. It depends on how the data are formatted (separation by single or double blank records). |