Graphics, Figures & Tables ⇒ What's a good command for PGF figure import
What's a good command for PGF figure import
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}
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
What's a good command for PGF figure import
Code: Select all
\input
Cheers,
Tomek