|
From: <als...@ma...> - 2007-02-28 01:04:25
|
Hi;
I am writting my thesis and got into the problem of having a
multiplot generated by gnuplot 4.0.0 using the term epslatex and
eventually included in latex document via \input{fig} where fig.tex,
and fig.eps both where generated by epslatex terminal. I am using
TexShop on a mac os x, so what follows apply to latex on mac os x, and
might not apply to other situations. My figure was broken in the pdf
file generated by Latex typesetting. I was wondering what could
possibly be the problem, and I searched google to find this thread. I
tried pause -1 between plot commands, didn't work!. Anyways, I am by no
means an expert on latex or gnuplot, but I believe that fig.eps picture
file has problems when included in the picture environment in the
fig.tex file that what I discovered after some experimentation. So I
have the following procedure:
1. do your multiplot as usual and set the terminal epslatex and the
output file (say fig.eps) pretending there is no problem.
2. convert the fig.eps file to fig.png
3. edit the fig.tex file to include the fig.png file rather than
fig.eps (explicitly write fig.png)
4. include the fig in latex by \input{fig} (with no extentions).
Typeset latex and generate your pdf file you will see the pictures
generated from fig.png and that from fig.tex are intact, but displaced.
5. edit the coordinates in the second picture environment command to
fit the two together.
6. finally edit the labels, and the other fine things you want to see
in the plot.
7. typeset again to see if everything looks fine.
hope that help.
thanks
Ramzi Alsallaq
Florida State University
Tallahassee, FL
----------------------------------------------------------------
|