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


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

Re: Questions about gnuplot command fit by a newbee.

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.swapon.de!fu-berlin.de!uni-berlin.de!news.dfncis.de!not-for-mail
From Hans-Bernhard Bröker <HBBroeker@t-online.de>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: Questions about gnuplot command fit by a newbee.
Date Sun, 27 Apr 2014 17:22:50 +0200
Lines 29
Message-ID <bs4lluFdgrfU1@mid.dfncis.de> (permalink)
References <1f95d7ab-7451-4ced-9e26-e4522737bf0a@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Trace news.dfncis.de fDFW5Q8EG7ZmpgzPIDtY8AvmSkjXIZJxcAoM4F3XmqDrPn8MsstdbHidOs
Cancel-Lock sha1:TYYvkiBOEH9+QAzu41Qk5pUx05M=
User-Agent Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.4.0
In-Reply-To <1f95d7ab-7451-4ced-9e26-e4522737bf0a@googlegroups.com>
Xref csiph.com comp.graphics.apps.gnuplot:2429

Show key headers only | View raw


On 27.04.2014 16:04, jnw@xs4all.nl wrote:


> The first one is: Now matter what I set FIT_LIMIT to (eg. 1.0e-14),
> in fit.log it always says "limit for stopping : 1e-05".  The gnuplot
> output to stderr correctly reports "limit for stopping : 1e-14". Is
> this a bug?

It may have been a bug once.  I don't see such misbehaviour in the
current release version (4.6pl5), so odds are yours is just a little out
of date.

> I'm using a linear fit, as in f(x) = m * x + b fit f(x) "<file>"
> using 1:4:(1) via m,b The second question is: Is there a way to
> include the final values of m and b in the plot?

The best way of doing that depends on the version of gnuplot you have.
Current ones should support the sprintf() method (see "help sprintf").

> The x-axis is a date, as in set xdata time set timefmt "%Y-%m-%d" set
> xtics format "%d-%m"

> The third question is: In what unit of time is the final value of m
> expressed; or how do I get the value per day from the final value of
> m given now?

The unit of m is the quotient of y axis units divided by x axis units. 
In the case at hand, that's <something> per second.

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


Thread

Questions about gnuplot command fit by a newbee. jnw@xs4all.nl - 2014-04-27 07:04 -0700
  Re: Questions about gnuplot command fit by a newbee. Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2014-04-27 17:22 +0200
    Re: Questions about gnuplot command fit by a newbee. jnw@xs4all.nl - 2014-04-27 10:51 -0700

csiph-web