Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #3401

Re: Fit Multiple Data Files

Path csiph.com!weretis.net!feeder4.news.weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From Karl Ratzsch <mail.kfr@gmx.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: Fit Multiple Data Files
Date Tue, 20 Sep 2016 16:02:42 +0200
Organization solani.org
Lines 29
Message-ID <nrrfi3$bu7$1@solani.org> (permalink)
References <70a2c8a1-a978-4504-be5a-251999d40555@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 7bit
X-Trace solani.org 1474380163 12231 eJwFwQkBwDAIA0BL/GxyIE39S+hdemmho7Iib95GF6cpH8aPbxgFDpm/TVcGoYTtUMd5Fg8r8BIo (20 Sep 2016 14:02:43 GMT)
X-Complaints-To abuse@news.solani.org
NNTP-Posting-Date Tue, 20 Sep 2016 14:02:43 +0000 (UTC)
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0
X-User-ID eJwNx8EBwCAIA8CVpJAA46DI/iPY+x2UwuNG0DCY2f/RirJuyz7rMgSHK/wmb5TO57tSyjlYDx/SERE=
In-Reply-To <70a2c8a1-a978-4504-be5a-251999d40555@googlegroups.com>
Cancel-Lock sha1:Y2vQWL4KHr9/gmrT+odVsd1ykrk=
X-NNTP-Posting-Host eJwFwQkBwDAIA0BLvAmT00HxL6F36VA0A4nIzdUq5WrfMhmK404dfPzHFOEMXhM52/QMXTwIVhBG
Xref csiph.com comp.graphics.apps.gnuplot:3401

Show key headers only | View raw


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 | NextPrevious in thread | Next in thread | Find similar


Thread

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