emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Unexpected behaviour with gnuplot source blocks


From: Christopher Witte
Subject: Re: [O] Unexpected behaviour with gnuplot source blocks
Date: Fri, 21 Jun 2013 13:17:05 +0200


On 20 June 2013 18:12, Eric Schulte <address@hidden> wrote:
Why not do the following instead which would be equivalent and simpler.
The output will be automatically set from the value of your :file header
argument.

#+begin_src gnuplot :file fig/transInc.eps
  reset
  set encoding utf8
  .....
#+end_src


That kinda works, but I think you still need to set the terminal type within the source block.  Using the above the command "set terminal eps" gets sent to gnuplot, but you actually need "set terminal postscript eps".

The following works

#+BEGIN_SRC gnuplot :file test.eps
  reset
  set terminal postscript eps
  .....
#+END_SRC

Thanks for the help!
Chris.

reply via email to

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