Problem animating MuPAD data plots



Greetings.

I have ninety-something pairs of Cartesian coordinates (i.e., x,y
points) for an imaginary race car running on an imaginary race track.
I had wanted to produce an animated plot showing each point, in turn.
(I might also wish to display data on the cars velocity and
acceleration, but this is -- pun intended -- tangential to my query.
<g>)

While producing animated plots of functions has been a tractable
problem, all of my attempts at producing an animating a plot of data
points have thus far failed. Is MuPAD (3.1.1) capable of producing an
animated plot of data points? Anyone care to demonstrate the creation
of a short list of coordinates, and then demonstrate plotting them?
(Feel free to be brief; I can extrapolate.) Any sage advice?


Cordially,
Richard Kanarek


One Failed attempt
------------------

xpos:= import::readdata("E:\\mypath\\xt.txt"," ",NonNested):
ypos:= import::readdata("E:\\mypath\\yt.txt"," ",NonNested):
print(Unquoted, "xpos:"):
type(xpos); nops(xpos);
print(Unquoted, "ypos:"):
type(ypos); nops(ypos);

xpos:

DOM_LIST
99
ypos:

DOM_LIST
99



p:= [plot::Point2d(xpos[i], ypos[i]) $ i=1..99]:
plot(p[random(1..99)()]); // This works (but not for what I want)
plot(p[i] $ i = 1..99); // Ditto
plot(p[a], a=1..99); // This generates the following error msg:

Error: unexpected range argument: a = 1..99 [plot::Canvas::new]
.