Re: fit by varying the data
Hans-Bernhard Bröker <[email protected]>
| Newsgroups | gmane.comp.graphics.gnuplot.user |
|---|---|
| Message-ID | <[email protected]> |
Am 18.06.2019 um 18:53 schrieb Patrick Dupre:
> Hello,
>
> Can I do this:
> fit a*(x-x0) $DATA u (x=$1):($2*sin(theta)+$3*cos(theta)) via x0,a,theta
^^^^
That assignment operation makes no sense at all.
And no, you can't do that. The parameters have to influence the
_function_, not the data. You really wouldn't want to re-read the
entire dataset on every iteration of 'fit', just to update the effect of
parameters on the data.
_______________________________________________
gnuplot-info mailing list
[email protected]
Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info