•
|
There are several ways to obtain the animation in Figure A-9.6(a). These are explained below.
|
•
|
Click on the graph to access the animation toolbar.
|
•
|
Options in the animation toolbar are explained in Table 6.5 in the User Manual.
|
|
|
|
Figure A-9.6(a) Requisite animation
|
|
|
|
|
|
Animation via Plot Builder
|
Enter the polynomial.
Context Panel: Plot Builder≻animation
2-D plot
In the animation section, set b as the animation parameter and set its range as .
Set .
view: axis[2]≻
Click the "build animation" button
|
|
|
|
With the syntax shown below, the animate command from the plots package will generate the required animation. The second argument in the animate command is a list of the arguments for the plot command to draw one frame with one value of b.
A much better alternative is the interactive command (in the plots package), which launches the Plot Builder, allowing for an interactive construction of the animation.
|
|
|
The details of how to implement the animation are as follows.
•
|
In the "Select Plot Type and Functions" drop-down, select "Animation." Let b be the animation parameter, but set . See Figure A-9.6(b).
|
•
|
In the Options pane, set Range from/to to the interval . See Figure A-9.6(c).
|
•
|
Press the Preview button to see a preview in a pop-up, and/or press the Plot button to embed the animation into the worksheet.
|
|
Figure A-9.6(b) Initial pane in Plot Builder
|
|
|
|
|
Figure A-9.6(c) Top part of Options pane in Plot Builder
|
|
|
|
|
|
If, instead of selecting "Animation," the choice is "Interactive Plot with 1 parameter," then the Preview button will launch a pop-up Maplet in which a slider controls the parameter b. Pressing the Plot button embeds into the worksheet a slider-controlled graph that is essentially created (behind the scenes) with the Explore command. The embedded graph is, in effect, generated by the following command.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|