Previous Up Next

19.10.1  Animation of a 2D graph

The animate command creates 2D animations using graphs of functions depending on a parameter. (See also Section 19.2.3.)

Examples

animate(sin(a*x),x=-pi..pi,a=-2..2,frames=10,color=red)

The output is an animation beginning with:


Previous Up Next