From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Stansell Subject: Re: using gnuplot's "splot" and "every" commands on org-mode table data Date: Tue, 7 May 2013 18:14:34 +0100 Message-ID: References: <87k3ncxeqt.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:57773) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UZlTN-0005fw-JW for emacs-orgmode@gnu.org; Tue, 07 May 2013 13:14:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UZlTH-0005aH-7i for emacs-orgmode@gnu.org; Tue, 07 May 2013 13:14:41 -0400 Received: from mail-ie0-x22f.google.com ([2607:f8b0:4001:c03::22f]:58972) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UZlTH-0005aD-2z for emacs-orgmode@gnu.org; Tue, 07 May 2013 13:14:35 -0400 Received: by mail-ie0-f175.google.com with SMTP id s9so1417873iec.20 for ; Tue, 07 May 2013 10:14:34 -0700 (PDT) In-Reply-To: <87k3ncxeqt.fsf@gmail.com> 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: Eric Schulte Cc: emacs-orgmode@gnu.org Eric, What you suggest is indeed a good solution, so thank you very much for that! I think it would still be nice, however, if someday the blank lines in the org table would be exported as blank lines in the temporary text file instead of as "" (which seems to be the root of the problem). Kind regards, Paul > Hi Paul, > > 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. > > If I understand your use case correctly, then something like the > following should work. > > > > If you really wanted to be fancy, gnuplot will let you specify shell > transformations as part of the plotting command which would allow you to > forego the intermediate code block. > > -- > Eric Schulte > http://cs.unm.edu/~eschulte >