emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Fraga <e.fraga@ucl.ac.uk>
To: skip <scp0801@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Babel, gnuplot, post processing
Date: Sat, 12 May 2012 17:28:27 +0930	[thread overview]
Message-ID: <8762c1omos.fsf@ucl.ac.uk> (raw)
In-Reply-To: <CAAWz9dRykxvSWdRJF4tkOoZ-uB8Kgp5ihJuJsZV6hEB6tR2W+w@mail.gmail.com> (skip's message of "Fri, 11 May 2012 08:57:37 -0700")

skip <scp0801@gmail.com> 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.

The easiest solution (although maybe not the most elegant) is to do this
from within gnuplot.  I do something similar in that I process the eps
to create a pdf.

#+begin_src gnuplot :file xxx.pdf
  reset
  clear
  set output 'xxx.eps'
  set terminal postscript eps enhanced 18
  ...
  plot ...
  ! epstopdf xxx.eps
#+end_src

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.1.50.1
: using Org release_7.8.09-527-gc2aac5

  parent reply	other threads:[~2012-05-12  7:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-11 15:57 Babel, gnuplot, post processing skip
2012-05-11 20:43 ` Eric Schulte
2012-05-12  7:58 ` Eric Fraga [this message]
2012-05-13 22:37   ` skip

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8762c1omos.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=scp0801@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).