From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nigel Beck Subject: org-babel-gnuplot broken today? Date: Tue, 26 Oct 2010 16:10:24 -0400 Message-ID: <87zku0af67.fsf@asusbsd.danakil.selfip.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=43558 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PAqBe-0001EG-GW for emacs-orgmode@gnu.org; Tue, 26 Oct 2010 16:32:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PApvR-0001pG-Ll for emacs-orgmode@gnu.org; Tue, 26 Oct 2010 16:15:18 -0400 Received: from lo.gmane.org ([80.91.229.12]:52458) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PApvR-0001p5-7k for emacs-orgmode@gnu.org; Tue, 26 Oct 2010 16:15:17 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PApvN-0004mW-Aq for emacs-orgmode@gnu.org; Tue, 26 Oct 2010 22:15:13 +0200 Received: from 26.sub-75-198-223.myvzw.com ([75.198.223.26]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 26 Oct 2010 22:15:13 +0200 Received: from me by 26.sub-75-198-223.myvzw.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 26 Oct 2010 22:15:13 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org I refreshed today 7.01trans and noticed I couldn't get my gnuplots to plot anymore: data from a table within the org file is no longer digested nicely by gnuplot. To test, I used the snippet below from the worg http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-gnuplot.php: ** Data Table Plot Plotting data points from a table could look like this: #+tblname: basic-plot | x | y1 | y2 | |-----+------------+------------| | 0.1 | 0.425 | 0.375 | | 0.2 | 0.3125 | 0.3375 | | 0.3 | 0.24999993 | 0.28333338 | | 0.4 | 0.275 | 0.28125 | | 0.5 | 0.26 | 0.27 | | 0.6 | 0.25833338 | 0.24999993 | | 0.7 | 0.24642845 | 0.23928553 | | 0.8 | 0.23125 | 0.2375 | | 0.9 | 0.23333323 | 0.2333332 | | 1 | 0.2225 | 0.22 | #+begin_src gnuplot :var data=basic-plot :exports code :file basic-plot.png set title "Putting it All Together" set xlabel "X" set xrange [0:1] set xtics 0,0.1,1 set ylabel "Y" set yrange [0.2:0.5] set ytics 0.2,0.05,0.5 plot data u 1:2 w p lw 2 title 'x vs. y1', \ data u 1:3 w lp lw 1 title 'x vx. y2' #+end_src #+results: [[file:basic-plot.png]] Exporting or executing the gnuplot piece, Gnuplot (Gnuplot 4.4 patch level 1) complains: gnuplot> plot data u 1:2 w p lw 2 title 'x vs. y1', \ > data u 1:3 w lp lw 1 title 'x vx. y2' warning: Skipping unreadable file "((0.1 0.425 0.375) (0.2 0.3125 0.3375) (0.3 0.24999993 0.28333338) (0.4 0.275 0.28125) (0.5 0.26 0.27) (0.6 0.25833338 0.24999993) (0.7 0.24642845 0.23928553) (0.8 0.23125 0.2375) (0.9 0.23333323 0.2333332) (1 0.2225 0.22))" warning: Skipping unreadable file "((0.1 0.425 0.375) (0.2 0.3125 0.3375) (0.3 0.24999993 0.28333338) (0.4 0.275 0.28125) (0.5 0.26 0.27) (0.6 0.25833338 0.24999993) (0.7 0.24642845 0.23928553) (0.8 0.23125 0.2375) (0.9 0.23333323 0.2333332) (1 0.2225 0.22))" No data in plot So of course no basic-plot.png is created.... As far as I know, my gnuplots were happy sometime within the past week refreshing org-mode from git basically daily...