[pstricks] problem with 'animate'-package
Olaf Möller
moeller_olaf at yahoo.de
Fri Jun 29 10:28:02 CEST 2007
Hi all users,
i found the package "animate" here under PSTricks.
Trying a little project - animating the function a*x^2 - i can't see the
widget but the buttons below with the acrobat reader. I am working
under suse-linux 10.2; the acrobat-reader 7.08.. is installed.
i called the routine automatically by kile: latex -> dvi -> dvips
(without -pPDF) -> ps2pdf to get the pdf-file.
No errors were shown.
Here ist the file:
---------snip----------------------------------
\documentclass{article}
\usepackage{graphicx}
\usepackage{pstricks, pst-plot}
\usepackage{animate}
\usepackage{fp}
\newcommand{\parabel}[1]{%
\psset{xunit=2cm, yunit=1cm}
\begin{pspicture*}(-3.5,-3.5)(3.5,5.5)
\psaxes{->}(0,0)(-3,-3)(3,5)
\psplot{-3}{3}{x 2 exp #1 mul}
\end{pspicture*}
}
\begin{document}
\newcounter{plotkoeff}
\setcounter{plotkoeff}{1}
\begin{animateinline}[poster=last, controls, palindrome]{1}%
\parabel{\theplotkoeff}%
\whiledo{\theplotkoeff < 5}{%
\newframe%
\addtocounter{plotkoeff}{1}%
\parabel{\theplotkoeff}%
}
\end{animateinline}
\end{document}
------------snip-------------------------
I thinks the code is nearby the thorus-example in the animate-manual.
Any help?
your olaf
--
Fachseminarleiter Mathematik
Georg-Schlesinger-Schule
(OSZ Maschinen- und Fertigungstechnik)
Kühleweinstraße 5
13409 BERLIN
Telefon: 030 / 49 79 06 - 0 (Sekretariat)
Telefon: 030 / 49 79 06 27 (Abteilung IV)
Fax: 030 / 49 79 06 11
Mail: moeller_olaf at yahoo.de
___________________________________________________________
Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de
More information about the PSTricks
mailing list