From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Gnuplot/babel issue with export to eps Date: Thu, 5 Jan 2012 17:54:18 -0600 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=0015175cfd7e7fccd204b5d0a6f1 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:41369) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rix8X-0003N9-MD for emacs-orgmode@gnu.org; Thu, 05 Jan 2012 18:54:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rix8W-0005Lj-AQ for emacs-orgmode@gnu.org; Thu, 05 Jan 2012 18:54:21 -0500 Received: from mail-ey0-f169.google.com ([209.85.215.169]:34732) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rix8W-0005Le-5z for emacs-orgmode@gnu.org; Thu, 05 Jan 2012 18:54:20 -0500 Received: by eabm6 with SMTP id m6so885279eab.0 for ; Thu, 05 Jan 2012 15:54:18 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode --0015175cfd7e7fccd204b5d0a6f1 Content-Type: text/plain; charset=UTF-8 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 --0015175cfd7e7fccd204b5d0a6f1 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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:=C2=A0http://t16web.lanl.gov/Kawano/g= nuplot/intro/plotfunc-e.html

-----
#+begin_src gnuplot :file export.eps :e= xports results
reset

set terminal postsc= ript eps color enhanced 20

a=3D0.25
=C2= =A0b=3D0.02
=C2=A0c=3D0.05
=C2=A0d=3D0.1
=C2=A0f(x)=3Dc/((x-a)= *(x-a)+b)+d/sqrt(x)
=C2=A0set xrange [0:1]
=C2=A0set yr= ange [0:4]
=C2=A0plot 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 inc= orrectly?


Thanks,
John
--0015175cfd7e7fccd204b5d0a6f1--