Hi,
I want to use the pgf package to import a pgf figure. I can't figure it out from the online pgf helps as they tend to focus on actually drawing stuff.
I've used an eps2pgf converter to obtain my pgf image. I now wish to import it into my latex file as for \includegraphics for a .eps figure.
I have usepackage pgf in the preamble.
I've tried using
\pgfimage{pp}
\pgfuseimage{image1}
both with and without
\pgfdeclareimage[interpolate=true,height=1cm]{image1}{pp}
Although the pgf file (pp.pgf) is certainly in the latex file folder, latex can't seem to find it. What is the best figure import command to use?
Thanks in advance - R
e.g.
\pgfdeclareimage[interpolate=true,height=1cm]{image1}{pp}
\begin{figure}
\center
\pgfimage{image1}
\caption{...}
\label{phaseportait}
\end{figure}
or
\begin{figure}
\center
\include{pp}
\caption{...}
\label{phaseportait}
\end{figure}
Graphics, Figures & Tables ⇒ What's a good command for PGF figure import
NEW: TikZ book now 40% off at Amazon.com for a short time.

What's a good command for PGF figure import
If you haven't figured it out by now, it's:(see documentation of eps2pgf for an example).
Cheers,
Tomek
Code: Select all
\input
Cheers,
Tomek