I'm trying to include graphs made with gnuplot into a pdf document,
which I produce using pdflatex. Unfortunately, however, I can't get
the orientation of the figures right.
I do the following steps to include the figure in my docuement
1) export graph as postscript from gnuplot (set term postscript...),
looks nice
2) use ps2pdf to convert graph.ps to graph.pdf (looks also nice in
Acrobat 5.0)
3) the pdf-file is included in my document doc.tex via
\psfig{figure=graph} (using the graphicx package)
4) pdflatex is run to produce doc.pdf.
The included graph, however, appears rotatet by 90 degrees in doc.pdf.
It can be manually rotatet back by using
\psfig{figure=graph,angle=-90}, but this creates problems when I try
to place several figures next to each other.
Does someone know why this rotation happens, and how it can be
prevented?
Thanks a lot,
Rainer
Wald
"Rainer Stiefelhagen" <sti...@ira.uka.de> wrote in message
news:4715922a.02010...@posting.google.com...
export as encapsulated postscript
>2) use ps2pdf to convert graph.ps to graph.pdf (looks also nice in
>Acrobat 5.0)
use epstopdf
>3) the pdf-file is included in my document doc.tex via
>\psfig{figure=graph} (using the graphicx package)
there's no \psfig command in graphicx; that comes from psfig.sty
use \includegraphics instead
>4) pdflatex is run to produce doc.pdf.
is it better now?
>The included graph, however, appears rotatet by 90 degrees in doc.pdf.
>It can be manually rotatet back by using
>\psfig{figure=graph,angle=-90}, but this creates problems when I try
>to place several figures next to each other.
>
>Does someone know why this rotation happens, and how it can be
>prevented?
one hears about it occasionally, but it's never happened to me. what
versions of pdftex and pdftex.def are you using? -- it could be that
you're encountering a bug that's already been mended.
--
Robin Fairbairns, Cambridge -- rf10 at cam dot ac dot uk
Thanks again,
Rainer
"Robin Fairbairns" <r...@pallas.cl.cam.ac.uk> schrieb im Newsbeitrag
news:a1eu86$t5h$1...@pegasus.csx.cam.ac.uk...