此为 Mathematica 7 文档,内容基于更早版本的 Wolfram 语言
查看最新文档(版本11.1)
Mathematica HowTo
How to | Import and Export Animations
After creating or editing an animation in Mathematica, you can export it for use in other programs. Mathematica is capable of importing and exporting animations in several formats.
This is a selection of examples from the complete 'How to' screencast »
View the elements available for Import in a QuickTime file in the Mathematica documentation ExampleData directory:
In[1]:=
Click for copyable input
Out[1]=
Import the QuickTime file as an animation::
In[2]:=
Click for copyable input
Out[2]=
You can also export animations that you create in Mathematica.
Create an animation of the plot of  Sin (a+x), where the value of a is continuously changed:
In[3]:=
Click for copyable input
Out[3]=
Export the animation to the "AVI" format, as "animate.avi". The % symbol specifies the most recent output, in this case the animation, for Export:
In[4]:=
Click for copyable input
Out[4]=
If you wish to make changes to your exported animations, you can import them back into Mathematica.
Import "animate.avi":
In[5]:=
Click for copyable input
Out[5]=