Graphics, Figures & Tablesanimate | EPS Images cropped in animated Graphics

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
Brynolf
Posts: 5
Joined: Tue Apr 17, 2012 4:06 pm

animate | EPS Images cropped in animated Graphics

Post by Brynolf »

Hello,

I'm trying to create an animation in Beamer, and I have run into some problems. I have generated some images in matlab, saved them as .eps figures and they all display fine in latex on their own.

However, if I try to make an animation (animate package) the images are cropped, and only the bottom quarter is displayed. I thought this might be a bounding-box issue, but I can't figure out what's wrong.

I tried to attatch my images as a .rar-file but I failed. How can I do that?

I'd appreciate any help!

Here's a mwe:

Code: Select all

\documentclass[11pt]{beamer}
\usepackage{graphicx}
\usepackage{animate}

\begin{document}
  \begin{figure}
        \centering
	\animategraphics[width=.8\textwidth]{12}{images/UPbDating-}{1}{30}
   \end{figure}
\end{document}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

alex
Posts: 32
Joined: Mon May 19, 2008 10:53 am

animate | EPS Images cropped in animated Graphics

Post by alex »

generated some images in matlab, saved them as .eps figures ...
You seem to go the latex-->dvips-->ps2pdf route. In that case it is important not to use option `-Ppdf' with dvips. In case you are using a LaTeX-aware editor, e. g. texniccenter, make sure the dvips call is configured accordingly.

Alex
Post Reply