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


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

Re: linear fit of looped (and cutted) data set [solved]

X-Received by 10.237.59.203 with SMTP id s11mr7397810qte.32.1482792757331; Mon, 26 Dec 2016 14:52:37 -0800 (PST)
X-Received by 10.157.51.88 with SMTP id u24mr479028otd.6.1482792757292; Mon, 26 Dec 2016 14:52:37 -0800 (PST)
Path csiph.com!feeder.erje.net!2.us.feeder.erje.net!newspeer1.nac.net!border2.nntp.dca1.giganews.com!nntp.giganews.com!p16no2403546qta.1!news-out.google.com!u18ni10935ita.0!nntp.google.com!b123no3755967itb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.graphics.apps.gnuplot
Date Mon, 26 Dec 2016 14:52:36 -0800 (PST)
In-Reply-To <aa2bf3fc-6c30-42a9-ab4b-d04c2dece171@googlegroups.com>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=188.20.239.46; posting-account=8aAfcQoAAAAFyM529Tf50ab4Op9511Om
NNTP-Posting-Host 188.20.239.46
References <4ad61db7-dd62-4b0f-8bb6-ffa3305505fb@googlegroups.com> <o1fc4s$bo2$1@dont-email.me> <aa2bf3fc-6c30-42a9-ab4b-d04c2dece171@googlegroups.com>
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <1321e4bf-c117-4ed3-b2a7-317fd0577e10@googlegroups.com> (permalink)
Subject Re: linear fit of looped (and cutted) data set [solved]
From Markus Grünwald <m_grueni@web.de>
Injection-Date Mon, 26 Dec 2016 22:52:37 +0000
Content-Type text/plain; charset=UTF-8
Lines 10
Xref csiph.com comp.graphics.apps.gnuplot:3498

Show key headers only | View raw


After a bunch of trial and error I've found a better solution (fits now as i expected it should do):

Due to the fact that i limited the ordinates (and not abscissa as expected by gnuplot - and also gnumeric, what I've tried too) I've got this strange results. So i just switched the axis and did a fit on yx-pairs of data:

[code]
f(x) = (x - d) / k
fit [ymin:ymax] [xmin:xmax] f(x) "Data.txt" using 3:2 via k,d
f(x) = k*x + d
[/code]

now it works perfectly.

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

linear fit of looped (and cutted) data set Markus Grünwald <m_grueni@web.de> - 2016-11-27 07:31 -0800
  Re: linear fit of looped (and cutted) data set Ethan A Merritt <EAMerritt@gmail.com> - 2016-11-27 11:29 -0800
    Re: linear fit of looped (and cutted) data set Markus Grünwald <m_grueni@web.de> - 2016-11-27 14:56 -0800
      Re: linear fit of looped (and cutted) data set [solved] Markus Grünwald <m_grueni@web.de> - 2016-12-26 14:52 -0800
  Re: linear fit of looped (and cutted) data set Karl Ratzsch <mail.kfr@gmx.net> - 2016-11-27 22:11 +0100

csiph-web