Apparently I had the square brackets placed wrong. My mistake. The code *arm = animate(line([(0,0),(cos(i), sin(i))], rgbcolor=(1,0,1)) for i in srange(0, 2*pi, 0.3)) arm.show()*
seems to work. Thanks ... mea culpa for not finding the obvious substitution. Was barking up the wrong tree. Dean --- On Thu, Feb 14, 2008 at 1:46 PM, William Stein <[EMAIL PROTECTED]> wrote: > > please post what you think the obvious substitution is. > > > > On 2/14/08, dino <[EMAIL PROTECTED]> wrote: > > > > I posted this to the sage-newbie list, but it never generated a > > response. I understand this list has > > more people "in the know." > > > > We have the following snippet: > > > > arm = animate([arrow((0,0),(cos(i), sin(i)), > > rgbcolor=(1,0,1)) > > for i in srange(0, 2*pi, 0.3)]) > > arm.show() > > > > It generates a rotating arrow. I wish to generate an animated line, > > but the obvious substitution fails, generating a graph but no line. > > Fiddling with the code in other ways also fails. > > > > Ideas? Thanks! > > > > Dean > > > > > > > > > > -- > William Stein > Associate Professor of Mathematics > University of Washington > http://wstein.org > > > > --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---