Path: csiph.com!news.mixmin.net!proxad.net!feeder1-2.proxad.net!cleanfeed2-a.proxad.net!nnrp3-1.free.fr!not-for-mail Newsgroups: comp.graphics.apps.gnuplot Date: Tue, 24 Oct 2017 13:30:29 +0200 From: Jean-Pierre Coulon Subject: can I fit two columns when I use timefmt Message-ID: User-Agent: Alpine 2.20 (WNT 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII Lines: 13 Organization: Guest of ProXad - France NNTP-Posting-Date: 24 Oct 2017 13:30:29 CEST NNTP-Posting-Host: 192.54.176.195 X-Trace: 1508844629 news-1.free.fr 4827 192.54.176.195:20165 X-Complaints-To: abuse@proxad.net Xref: csiph.com comp.graphics.apps.gnuplot:3788 I have a datafile with lines like 171023_15h11m59s150 . I know how to plot columns 2 and 3 using set xdata time; set timefmt "%y%m%d_%Hh%Mm%Ss" My model is a = .028; b=.04; model(x) = a*x + b. When I say fit modele(x) "mystuff.txt" using 2:3 via a, b I obtain: No data to fit What is the right way to do? Regards, -- Jean-Pierre Coulon