emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Hendy <jw.hendy@gmail.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Gnuplot/babel issue with export to eps
Date: Thu, 5 Jan 2012 17:54:18 -0600	[thread overview]
Message-ID: <CA+M2ft8ozhBggSUjFq01CWjQxNAqf9BFkOHKuNG3GdC+paGJUw@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 778 bytes --]

I have the following gnuplot/babel block and for some reason the resultant
.eps file comes up broken but a corresponding version of it gets converted
to pdf somehow... what's going on? I stole an example just to check and
make sure it wasn't my gnuplot code:
http://t16web.lanl.gov/Kawano/gnuplot/intro/plotfunc-e.html

-----
#+begin_src gnuplot :file export.eps :exports results
reset

set terminal postscript eps color enhanced 20

a=0.25
 b=0.02
 c=0.05
 d=0.1
 f(x)=c/((x-a)*(x-a)+b)+d/sqrt(x)
 set xrange [0:1]
 set yrange [0:4]
 plot f(x)

#+end_src
-----

I get a file export.eps which is broken and unreadable by geeqie. I get a
corresponding file called export-eps-converted-to.pdf that opens fine and
looks like it should.

What am I doing incorrectly?


Thanks,
John

[-- Attachment #2: Type: text/html, Size: 1180 bytes --]

             reply	other threads:[~2012-01-05 23:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-05 23:54 John Hendy [this message]
2012-01-06  0:03 ` Gnuplot/babel issue with export to eps Chris Malone
2012-01-06  3:01   ` John Hendy
2012-01-06 16:59     ` John Hendy
2012-01-06 17:02       ` John Hendy

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=CA+M2ft8ozhBggSUjFq01CWjQxNAqf9BFkOHKuNG3GdC+paGJUw@mail.gmail.com \
    --to=jw.hendy@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).