emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Babel, gnuplot, post processing


From: Eric Schulte
Subject: Re: [O] Babel, gnuplot, post processing
Date: Fri, 11 May 2012 16:43:51 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)

skip <address@hidden> writes:

> How can I perform post processing on eps files produced by gnuplot
> source blocks? I want to take out the extra white space margins in the
> eps file by running eps2eps utility on the eps file produced by
> gnuplot.
>

I believe that if given a :file header argument the gnuplot block will
return the path to the altered file as it's return result.  You could
use a :var header argument to feed this path into a shell script code
block which could call eps2eps on the resulting file.

With this setup, every time the sh code block is evaluated it will call
the gnuplot code block before it is run.  See the relevant manual
chapter for more information.
http://orgmode.org/manual/Working-With-Source-Code.html

Cheers,

-- 
Eric Schulte
http://cs.unm.edu/~eschulte/



reply via email to

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