Plot discrete points on a graph TI-BASIC -
i've been delving ti-basic programming language on ti-89 titanium appears online documentation scarce, i'm kind of stumbling around in dark while trying learn syntax. i've worked through basic concepts presented in guidebook on programming, seem far complete/descriptive.
for starters, how may plot discrete points 1 may in statistics (i.e. value @ every integer on x-axis)?
so far see may append generated points end of list [note "->" mean "sto"]
newlist(5)->total disp total
displays list {0. 0. 0. 0. 0.}
. now, if write loop iterate on list like
for i,.2,1.,.2 i->total[i]
i should have list {.2 .4 .6 .8 1.}
. here problem arises: want plot these points on graph screen against integers on x-axis, starting @ x=1. how do this? specifically, want plot points
(1., .2), (2., .4), (3., .6), (4., .8), (5., 1.)
the issue attempt attempted store values @ .2, .4, .6, , .8 slots in list, not exist. fix problem, do:
:for i, 1, 5, 1 :i*0.2 -> total[i]
this should produce list. plot this, use plot1
(or plot2
or plot3
) command plot this:
:plot1(scatter, {1, 2, 3, 4, 5}, total, .)
the first param type of plot, second list of x values (im not sure if did work, may have create list of x values , input that). third y values, , final mark on graph. know there 3 available in catalog on ti-84 family calculators. i'm not sure ti-89, symbols available on ti-84 • @ point, + @ point, , a(n) ○ around point. luck project.
Comments
Post a Comment