Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #3401
| From | Karl Ratzsch <mail.kfr@gmx.net> |
|---|---|
| Newsgroups | comp.graphics.apps.gnuplot |
| Subject | Re: Fit Multiple Data Files |
| Date | 2016-09-20 16:02 +0200 |
| Organization | solani.org |
| Message-ID | <nrrfi3$bu7$1@solani.org> (permalink) |
| References | <70a2c8a1-a978-4504-be5a-251999d40555@googlegroups.com> |
Am 20.09.2016 um 14:43 schrieb Jonas Sodon:
> supose I have 3 data files containing data from the same meassurment and I want to create ONE fit through all 3 data sets.
>
> Is it possible to have one fit through multiple data sets in different files? If so, how?
>
> f(x) = a +b*x + c*x**2
> fit f(x) "data1", "data2", "data3" via a,b,c
>
> did not work and the help section on multi-branch fitting left me even more clueless.
Multi-branch is for fitting more than one function & dataset with
identical parameters at the same time.
You just need to combine the files into one for fit, there are different
possibilities:
Do it permanently outside of gnuplot, or
fit f(x) '< cat data1 data2 data3' via ...
or
set table $data"
plot "data1", "data2", "data3"
unset table
fit f(x) $data
Back to comp.graphics.apps.gnuplot | Previous | Next — Previous in thread | Next in thread | Find similar
Fit Multiple Data Files Jonas Sodon <heiko.anafer@web.de> - 2016-09-20 05:43 -0700
Re: Fit Multiple Data Files Karl Ratzsch <mail.kfr@gmx.net> - 2016-09-20 16:02 +0200
Re: Fit Multiple Data Files Jonas Sodon <heiko.anafer@web.de> - 2016-09-20 23:11 -0700
csiph-web