147
Programming Chapter 8
• Graph function input
Y = Type_ ..... Specifies graph type.
”X
2
– 3” " Y1_
• Graph draw operation
DrawGraph_
Example Program
1
ClrGraph_
1
!W[32
2
View Window –10, 10, 2, –120, 150, 50_
2
!31Q
3
Y = Type_
3
3321Q
”X ^ 4–X ^ 3– 24X
2
+ 4X + 80” " Y1_
4
J[21Q
5
G SelOn 1_
5
3311
6
DrawGraph
6
!W[42
Executing this program produces the result shown here.
kk
kk
k Using Table & Graph Functions in a Program
Table & Graph functions in a program can generate numeric tables and perform
graphing operations. The following shows various types of syntax you need to use
when programming with Table & Graph functions.
• Table range setting
1 " F Start_
5 " F End_
1 " F pitch_
• Numeric table generation
DispTable_
• Graph draw operation
Connect type: DrawTG-Con_
Plot type: DrawTG-Plt_
Example Program
ClrGraph_
ClrText_
View Window 0, 6, 1, –2, 106, 2_
Y = Type_
”3X
2
– 2” " Y1_
P.72
4