Unfortunately, the demo example(s) weren't helpful. More info, and suggestions would be much aprreciated.
12 Haziran 2016 Pazar 18:02:59 UTC+3 tarihinde Dominique Laurain yazdı: > > Hello, > > Start with that demo example given here > http://combinat.sagemath.org/doc/reference/plotting/sage/plot/animate.html > > sines = [plot(c*sin(x), (-2*pi,2*pi), color=Color(c,0,0), ymin=-1,ymax=1) > for c in sxrange(0,1,.2)] > a = animate(sines) > a.show() > > I believe you are not so far .... add some lines more to your code > > Dominique > > > > On Sunday, 12 June 2016 16:28:09 UTC+2, Ceren Guzelgun wrote: >> >> 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.
