Animating A Series Of Graph Pictures - Texas Instruments TI-89 Manual Book

Ti ti-89: user guide
Hide thumbs Also See for TI-89:
Table of Contents

Advertisement

Animating a Series of Graph Pictures

CyclePic Command
Example
Comments start with ¦.
Press:
TI-89: ¥ d
TI-92 Plus: 2 X
For f, press:
TI-89: ¥ c j F
TI-92 Plus: ¥ G F
For #, press TI-89: ½
TI-92 Plus: 2½
and select it from the list.
For &, press:
TI-89: ¥ p
TI-92 Plus: 2 H
Note: Due to its complexity,
this program takes several
minutes to run.
As described earlier in this chapter, you can save a picture of
a graph. By using the CyclePic command, you can flip
through a series of graph pictures to create an animation.
Before using
CyclePic
, you must have a series of graph pictures that
have the same base name and are sequentially numbered starting
with 1 (such as
pic1, pic2, pic3, . . .
To cycle the pictures, use the syntax:
CyclePic picNameString, n [,wait] [,cycles] [,direction]
base name of pictures in quotes, such as "pic"
This example program (named
graph, with each view rotated 10¡ further around the Z axis. For
information about each command, refer to Appendix A. For
information about using the Program Editor, refer to Chapter 17.
Program Listing
:cyc()
:Prgm
:local i
¦
:
Set mode and Window variables
:setMode("graph","3d")
:70! eyef
:ë 10! xmin
:10! xmax
:14! xgrid
:ë 10! ymin
:10! ymax
:14! ygrid
:ë 10! zmin
:10! zmax
:1! zscl
¦
:
Define the function
:(x^3ù yì y^3ù x)/390! z1(x,y)
¦
:
Generate pics and rotate
:For i,1,10,1
:
iù 10! eyeq
:
DispG
:
StoPic #("pic" & string(i))
:EndFor
¦
:
Display animation
:CyclePic "pic",10,.5,5,ë 1
:EndPrgm
After entering this program on the Program Editor, go to the Home
screen and enter
cyc()
).
# of times to repeat cycle
seconds between pictures
# of pictures to cycle
) generates 10 views of a 3D
cyc
Every Other Graph from Program
.
Chapter 12: Additional Graphing Topics
1 = forward/circular cycle
ë1= forward/backward
219

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ti-92 plusTi-92 plus

Table of Contents