Re: [O] Org-babel results preamble

2011-08-25 Thread Derek Thomas
On Thu, Aug 25, 2011 at 9:50 AM, Eric S Fraga e.fr...@ucl.ac.uk wrote: I am slowly going through all the org emails that I have received in the three weeks I was off.  This was one of them and appears to not have been answered? In any case, possibly naming the src block may achieve what you

Re: [O] Org-babel results preamble

2011-08-02 Thread Eric Schulte
Hi Derek, If you name your code block, then it should be possible to update results without any need to replace the lines preceding the results. For example, #+source: disk-usage #+begin_src sh df #+end_src #+PLOT: title:Disk Usage ind:6 deps:(5) type:2d with:histograms set:yrange [0:100]

[O] Org-babel results preamble

2011-07-30 Thread Derek Thomas
I have found that using org-plot to plot the results output of an org-babel code block is very useful in prototyping my code. One minor annoyance is the need to remove and replace the #+PLOT: header at the beginning of the results output. Is it possible to specify a preamble in the source block?