Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #477

Gnuplot and epslatex

From Gaius Verres <c_verres@yahoo.com>
Newsgroups comp.graphics.apps.gnuplot
Subject Gnuplot and epslatex
Date 2011-07-25 00:22 -0700
Organization http://groups.google.com
Message-ID <6fff9ffe-1aed-4100-8351-ce48d149e308@a10g2000yqn.googlegroups.com> (permalink)

Show all headers | View raw


Hi,

I have problems embedding a gnuplot multiplot in LaTeX (gnuplot 4.4.3,
MikTeX 2.9, Windows XP, SP3):

<code>
set terminal epslatex color standalone

set output 'multiplot.tex'

f(x)=x**2
g(x)=x**3
h(x)=x**4

set multiplot

set size 1.5,1.0
set origin 0.0,2.158
set bmargin 0
set tmargin 1
set format x ""
plot f(x)

set size 1.5,1.0
set tmargin 0
set bmargin 1
set origin 0.0,1.158
plot g(x)

set size 1.5,1.0
set tmargin 0
set bmargin 1
set origin 0.0,0.2
plot h(x)

unset multiplot
</code>

What do I do:

1. run the above script
2. run multiplot.tex
3. open the created PS file and convert it to EPS via GSView 4.9
4. convert the EPS to pdf via epstopdf

Well now, I have the following problem: I can see only a *part* of the
plot in the reuslting PDF file.

5. integrate the PDF file in my document, run pdflatex

Any idea what I can do?

I tried to import the EPS in Inkscape 0.48.1 but it also recognizes
onyl a part of the plot and I normally "lose" the LaTeX fonts. Some
time ago, I found out that I can install the LM fonts
http://www.gust.org.pl/projects/e-foundry/latin-modern/download to
overcome that. But now even that does not work.

Of course I could use the LaTeX code generated by gnuplot directly (or
gnuplottex), i.e. the plot itself as an EPS and the axis as a LaTeX
but publishers want to have EPS/PDF for the *whole* plots and LaTeX
files which are as simple as possible without any further packages.

Back to comp.graphics.apps.gnuplot | Previous | NextNext in thread | Find similar


Thread

Gnuplot and epslatex Gaius Verres <c_verres@yahoo.com> - 2011-07-25 00:22 -0700
  Re: Gnuplot and epslatex Christoph Bersch <usenet@bersch.net> - 2011-07-25 10:41 +0200
    Re: Gnuplot and epslatex Gaius Verres <c_verres@yahoo.com> - 2011-07-25 02:01 -0700
      Re: Gnuplot and epslatex Christoph Bersch <usenet@bersch.net> - 2011-07-25 12:15 +0200
        Re: Gnuplot and epslatex Gaius Verres <c_verres@yahoo.com> - 2011-07-25 04:24 -0700
          Re: Gnuplot and epslatex Gaius Verres <c_verres@yahoo.com> - 2011-07-25 06:32 -0700
            Re: Gnuplot and epslatex James Waldby <not@valid.invalid> - 2011-07-25 20:30 +0000
          Re: Gnuplot and epslatex sfeam <sfeam@users.sourceforge.net> - 2011-07-25 08:09 -0700
          Re: Gnuplot and epslatex James Waldby <not@valid.invalid> - 2011-07-25 20:46 +0000
            Re: Gnuplot and epslatex Gavin Buxton <gavinbuxton@gmail.com> - 2011-07-25 16:32 -0700
              Re: Gnuplot and epslatex Gaius Verres <c_verres@yahoo.com> - 2011-07-26 02:25 -0700
                Re: Gnuplot and epslatex Christoph Bersch <usenet@bersch.net> - 2011-07-26 11:51 +0200
                Re: Gnuplot and epslatex Gaius Verres <c_verres@yahoo.com> - 2011-07-26 03:25 -0700
                Re: Gnuplot and epslatex Christoph Bersch <usenet@bersch.net> - 2011-07-26 13:03 +0200
                Re: Gnuplot and epslatex Gaius Verres <c_verres@yahoo.com> - 2011-07-26 04:13 -0700
  Re: Gnuplot and epslatex Ingo Thies <ingo.thies@gmx.de> - 2011-07-26 13:24 +0200
    Re: Gnuplot and epslatex Gaius Verres <c_verres@yahoo.com> - 2011-07-26 06:11 -0700
      Re: Gnuplot and epslatex Ingo Thies <ingo.thies@gmx.de> - 2011-07-26 15:43 +0200
        Re: Gnuplot and epslatex Gaius Verres <c_verres@yahoo.com> - 2011-08-01 02:19 -0700
          Re: Gnuplot and epslatex Gavin Buxton <gavinbuxton@gmail.com> - 2011-08-02 05:18 -0700

csiph-web