I've been delving into the TI-BASIC programming language on my Ti-89 Titanium but it appears the online documentation is very scarce, so I'm kind of stumbling around in the dark while trying to learn the syntax. I've already worked through the basic concepts presented in the guidebook on programming, but they seem far from complete/descriptive.
For starters, how may I plot discrete points as one may do in statistics (i.e. a value at every integer on the x-axis)?
So far I see that I may append generated points to the end of a list as [note that "->" will mean "STO"]
newList(5)->total
Disp total
displays a list like {0. 0. 0. 0. 0.}
. Now, if I write a for loop to iterate over the list like
for i,.2,1.,.2
i->total[i]
I should have a list like {.2 .4 .6 .8 1.}
. Now here the problem arises: say I want to plot these points on the graph screen against the integers on the x-axis, starting at x=1. How do I do this? Specifically, I want to plot the points
(1., .2), (2., .4), (3., .6), (4., .8), (5., 1.)