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


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

Re: can I fit two columns when I use timefmt

Path csiph.com!weretis.net!feeder4.news.weretis.net!proxad.net!feeder1-2.proxad.net!cleanfeed3-a.proxad.net!nnrp3-1.free.fr!not-for-mail
Newsgroups comp.graphics.apps.gnuplot
Date Wed, 25 Oct 2017 08:10:52 +0200
From Jean-Pierre Coulon <coulon@cacas.pam.obs-nice.fr>
Subject Re: can I fit two columns when I use timefmt
In-Reply-To <osnh8j$4it$1@solani.org>
Message-ID <alpine.WNT.2.20.1710250754530.10296@dhcp3-6> (permalink)
References <alpine.WNT.2.20.1710241324490.5548@dhcp3-6> <osnb4k$qib$1@dont-email.me> <alpine.WNT.2.20.1710241500370.5548@dhcp3-6> <osnh8j$4it$1@solani.org>
User-Agent Alpine 2.20 (WNT 67 2015-01-07)
MIME-Version 1.0
Content-Type text/plain; format=flowed; charset=US-ASCII
Lines 30
Organization Guest of ProXad - France
NNTP-Posting-Date 25 Oct 2017 08:10:51 CEST
NNTP-Posting-Host 192.54.176.195
X-Trace 1508911851 news-2.free.fr 4820 192.54.176.195:20006
X-Complaints-To abuse@proxad.net
Xref csiph.com comp.graphics.apps.gnuplot:3802

Show key headers only | View raw


On Tue, 24 Oct 2017, Karl Ratzsch wrote:

> Am 24.10.2017 um 15:13 schrieb Jean-Pierre Coulon:
>>
>> Thanks. It works if I also say unset xrange. In this case I also have a first
>> column in simple integers and the 2nd column is in time format. I was plotting
>> with using 2:<other column>. Does Gnuplot use this 1srt column for the fit
>> if I say fit using <two other columns> ?
>
> No, it does only use the specified columns. But your naming scheme in
> not clear to me.
>
> You have a datafile with columns t, p(t), q(t), right?

My datafile contains these columns: 1: time in seconds, integer 2: time in 
%y%m%d_%Hh%Mm%Ss format 3: p(t) 4: q(t) I am happy with my plots using 2:3 or 
2:4 with timefmt = this format. And I am able to select an xrange by putting 
my 2 limits in this format in the set xrange statement.

> Now what does model(x) describe?

p(t) = a*q(t) + b

and it works if I say fit model(x) datafile using 4:3 via a b.

How can I limit the range to the last two thirds of my datafile? My columns 3 
and 4 are not monotonic.
-- 
Jean-Pierre Coulon

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


Thread

can I fit two columns when I use timefmt Jean-Pierre Coulon <coulon@cacas.pam.obs-nice.fr> - 2017-10-24 13:30 +0200
  Re: can I fit two columns when I use timefmt Jörg Buchholz <bookwood4new@freenet.de> - 2017-10-24 14:19 +0200
    Re: can I fit two columns when I use timefmt Jean-Pierre Coulon <coulon@cacas.pam.obs-nice.fr> - 2017-10-24 15:13 +0200
      Re: can I fit two columns when I use timefmt Karl Ratzsch <mail.kfr@gmx.net> - 2017-10-24 16:04 +0200
        Re: can I fit two columns when I use timefmt Jean-Pierre Coulon <coulon@cacas.pam.obs-nice.fr> - 2017-10-25 08:10 +0200
          Re: can I fit two columns when I use timefmt Karl Ratzsch <mail.kfr@gmx.net> - 2017-10-25 09:18 +0200
            Re: can I fit two columns when I use timefmt Jean-Pierre Coulon <coulon@cacas.pam.obs-nice.fr> - 2017-10-25 14:35 +0200
      Re: can I fit two columns when I use timefmt Jörg Buchholz <bookwood4new@freenet.de> - 2017-10-25 07:43 +0200
  Re: can I fit two columns when I use timefmt Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2017-10-25 01:01 +0200

csiph-web