* Rick Frankel <r...@rickster.com> wrote: > > Two things: > > 1. You don't need to write table parsing code, as passing in a > table as an argument to a code block will convert it to an > array. > > #+name: ptable >| head1 | head2 | >|-------+-------| >| a | 1 | >| b | 2 | [...] > #+RESULTS: >| a | 1 | >| b | 2 | [...] > t=[["a", 1], ["b", 2]]
You're right, I totally forgot about this neat feature. However, the header information seems to get lost. This requires hard-coded column content which is a minor drawback of this method. > 2. You can also use the pydot or pygraphviz libraries for > generating the graph directly from python instead of generating > dot code. Thanks for the pointer! If somebody else is looking for an example (or some less formal documentation), take a look at [1] which gave me a much better start-up than the pydot web page. 1. https://pythonhaven.wordpress.com/tag/pydot/ -- mail|git|SVN|photos|postings|SMS|phonecalls|RSS|CSV|XML to Org-mode: > get Memacs from https://github.com/novoid/Memacs < https://github.com/novoid/extract_pdf_annotations_to_orgmode + more on github