Hi everyone.
I'm working on https://cloud.sagemath.com.
I have a csv file saved in a project, a file that has two columns of data.
I want to animate these points like a trajectory. So far, I can only plot
it normally as:
------
import csv
import sys
f = open('test.csv', 'rt')
xArr=[]
yArr=[]
line=f.readline()
while(line !=''):
xy=line.split(',')
xArr.append(float(xy[0]))
yArr.append(float(xy[1]))
line=f.readline()
list_plot(zip(xArr,yArr))
------
And as a result ofcourse, I get my plot inanimate.
Is there anyway I can animate it point by point?
Thanks already.
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.