next up previous contents index
suivant: Animation of a 3D monter: Animated graphs (2D, 3D précédent: Animated graphs (2D, 3D   Table des matières   Index


Animation of a 2D graph : animate

animate can create a 2-d animation with graphs of functions depending of a parameter. The parameter is specified as the third argument of animate, the number of pictures as fourth argument with frames=number, the remaining arguments are the same as those of the plot command, see section 2.3, p. [*].
Input :
animate(sin(a*x),x=-pi..pi,a=-2..2,frames=10,color=red)
Output :
a sequence of graphic representations of y=sin(ax) for 11 values of a between -2 and 2



giac documentation written by Renée De Graeve and Bernard Parisse