7

I want to animate different png-files into one graphic in LaTeX. I use:

\documentclass{beamer}
\usepackage{graphicx}
\usepackage{animate}

\begin{document}
\frame{
\frametitle{Monte Carlo Simulation - 22 trading days, 1000 simulations}
\vspace{-0.5cm}
\begin{center}
\animategraphics[scale=0.5,autoplay]{5}{3d}{211}{1}
\end{center}
}

\end{document}

So the decreasing from 211 to 210 and so on works, but the problem is, that LaTeX e.g. searches for the file "3d099":

! Package animate Error: Neither of the files
(animate)                `3d099.pdf',
(animate)                `3d099.mps',
(animate)                `3d099.png',
(animate)                `3d099.jpg',
(animate)                `3d099.jpeg',
(animate)                `3d099.jbig2',
(animate)                `3d099.jb2',
(animate)                `3d099.jp2',
(animate)                `3d099.j2k' or
(animate)                `3d099.jpx',
(animate)                could be found.
(animate)                Wrong file type? Mis-spelled file name?.

See the animate package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              

l.865 }

? 

But the file name is "3d99.png", so what do I have to change, that LaTeX does it correct?

Stephen
  • 14,890

0 Answers0