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:39:55 +0200 Message-ID: <874ne93imc.fsf@Rainer.invalid> References: <87k3ncxeqt.fsf@gmail.com> <87r4hkuebb.fsf@Rainer.invalid> <87zjw4xqhr.fsf@ucl.ac.uk> <87y5bngaw1.fsf@Rainer.invalid> <87zjw3navj.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:58899) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ub7Dm-0005sC-M9 for emacs-orgmode@gnu.org; Sat, 11 May 2013 06:40:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ub7Dl-0004ns-IK for emacs-orgmode@gnu.org; Sat, 11 May 2013 06:40:10 -0400 Received: from plane.gmane.org ([80.91.229.3]:43368) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ub7Dl-0004nY-Cf for emacs-orgmode@gnu.org; Sat, 11 May 2013 06:40:09 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ub7Di-0005Y1-QR for emacs-orgmode@gnu.org; Sat, 11 May 2013 12:40:06 +0200 Received: from pd9eb0e08.dip0.t-ipconnect.de ([217.235.14.8]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 11 May 2013 12:40:06 +0200 Received: from Stromeko by pd9eb0e08.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 11 May 2013 12:40:06 +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 S Fraga writes: >> We should keep "---" as lines to be exported and perhaps use ":::" for >> those that are just introducing convenience for table calculations as >> "===" looks far too heavy to me for that purpose. > > Sure, I can see how === may be too heavy. If you want to play around with this a bit, pull from my tableheadings branch on http://repo.or.cz/w/org-mode/org-tableheadings.git (it lists the git or http URLS to pull from on the page) I've implemented "calculation separators" that register as hlines for table formulas, but are ignored when row groups are constructed for export. Your example table would then look like this: --8<---------------cut here---------------start------------->8--- | | Strategy | Average performance | |---+----------+---------------------| | / | | 8.69 | | / | | 9.72 | | / | | 9.03 | |:::+::::::::::+:::::::::::::::::::::| | | 1 | 9.15 | |:::+::::::::::+:::::::::::::::::::::| | / | | 9.15 | | / | | 7.60 | | / | | 7.46 | |:::+::::::::::+:::::::::::::::::::::| | | 2 | 8.07 | |---+----------+---------------------| #+TBLFM: @5$3=vmean(@-I..@-II);%.2f::@9$3=vmean(@-I..@-II);%.2f --8<---------------cut here---------------end--------------->8--- This should then export the way you wanted without any fiddling. Let me know if you find any bugs (the test suite is clean, but test coverage with tables is sketchy). Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptation for Waldorf Blofeld V1.15B11: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada