From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: using gnuplot's "splot" and "every" commands on org-mode table data Date: Sat, 11 May 2013 12:51:00 +0200 Message-ID: <87zjw123jf.fsf@Rainer.invalid> References: <87k3ncxeqt.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:60836) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ub7OW-0008AF-IO for emacs-orgmode@gnu.org; Sat, 11 May 2013 06:51:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ub7OS-0008A0-Kk for emacs-orgmode@gnu.org; Sat, 11 May 2013 06:51:16 -0400 Received: from plane.gmane.org ([80.91.229.3]:60492) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ub7OS-00089t-Du for emacs-orgmode@gnu.org; Sat, 11 May 2013 06:51:12 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ub7OR-00053V-AX for emacs-orgmode@gnu.org; Sat, 11 May 2013 12:51:11 +0200 Received: from pd9eb1d9e.dip0.t-ipconnect.de ([217.235.29.158]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 11 May 2013 12:51:11 +0200 Received: from Stromeko by pd9eb1d9e.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 11 May 2013 12:51:11 +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: emacs-orgmode@gnu.org Eric Schulte writes: > While I can't claim to fully follow your gnuplot examples, i would > recommend using an intervening shell code block to parse the Org-mode > table data into something that gnuplot will ingest. Implementing something just for gnuplot seems to miss the mark. I can see utility for "records" in more Babel languages than just gnuplot. This could be implemented using the already existing facilities by starting a new record for each row group. #+name: data | 1 | 1 | 2 | | 1 | 2 | 5 | | 1 | 3 | 10 | |---+---+----| | 2 | 1 | 5 | | 2 | 2 | 8 | | 2 | 3 | 13 | |---+---+----| | 3 | 1 | 10 | | 3 | 2 | 13 | | 3 | 3 | 18 | For gnuplot the record separator happens to be a blank line, for other languages we'd have different conventions (like adding a third dimension to the variable that the table is transported in). Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Wavetables for the Terratec KOMPLEXER: http://Synth.Stromeko.net/Downloads.html#KomplexerWaves