From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [BUG] gnuplot with dates from a table dosn't work anymore Date: Mon, 15 Sep 2014 13:49:42 +0200 Message-ID: <8761gpksrt.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34736) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XTUmL-0003db-6H for emacs-orgmode@gnu.org; Mon, 15 Sep 2014 07:49:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XTUmC-00023W-4T for emacs-orgmode@gnu.org; Mon, 15 Sep 2014 07:49:09 -0400 Received: from relay6-d.mail.gandi.net ([2001:4b98:c:538::198]:47931) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XTUmB-00023P-Ux for emacs-orgmode@gnu.org; Mon, 15 Sep 2014 07:49:00 -0400 In-Reply-To: (Thomas Holst's message of "Mon, 15 Sep 2014 10:46:55 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Thomas Holst Cc: org-mode mailing list Hello, Thomas Holst writes: > after a pull from this weekend generating plots with gnuplot does not > work anymore. It was working perfectly before the pull. I get an error > message saying: > > org-babel-gnuplot-quote-timestamp-field: Wrong type argument: stringp, nil > > Here is the sample table and babel code: > > #+TBLNAME: GewichtSep2014 > | | Date | Kg | $\Delta$ | > |---+-----------------+------+------| > | # | <2014-09-10 Mi> | 90.0 | 0.0 | > | # | <2014-09-11 Do> | 89.7 | 0.3 | > | # | <2014-09-12 Fr> | 88.4 | 1.3 | > | # | <2014-09-13 Sa> | 86.9 | 1.5 | > | # | <2014-09-14 So> | 86.4 | 0.5 | > | # | <2014-09-15 Mo> | 87.0 | -0.6 | > |---+-----------------+------+------| > | # | | 3.0 | [] | > #+TBLFM: $4=@-1$3-$3;%.1f::@8$3=(@I - @II-1);%.1f::@8$4="" > > #+begin_src gnuplot :var data=GewichtSep2014[2:-3,1:-2] :exports code :file GewSep2014.png :session :hlines no > reset > cd "~/git/org-priv" > set title "Example" > set xdata time > set timefmt "%Y-%m-%d:%H:%M:%S" > set format x "%d.%m." > set yrange [80:] > set xtics nomirror > set ytics nomirror > set xtics "2014-09-10:0:0:0", 7*86400 # Datum muss in timefmt sein, Abstand in Sekunden > plot data using 1:2 with lines lt rgb "blue" title "Gewicht", 84.0 with dots lt rgb "red" notitle > #+end_src It should be fixed. Thank you for reporting it. Regards, -- Nicolas Goaziou