emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] using gnuplot's "splot" and "every" commands on org-mode table d


From: Achim Gratz
Subject: Re: [O] using gnuplot's "splot" and "every" commands on org-mode table data
Date: Sat, 11 May 2013 12:39:55 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

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(@address@hidden);%.2f::@9$3=vmean(@address@hidden);%.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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]