On Dec 12, 2007 12:38 PM, William Stein <[EMAIL PROTECTED]> wrote: > On Dec 12, 2007 12:22 PM, kcrisman <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > > > > The question: > > > > Is there any way to get SAGE to update a graphic without actually > > > > creating a new graphic, either in command-line mode or in notebook? > > > > > > Would creating an animation be a reasonable substitute? > > > E.g., > > > > > > {{{id=119| > > > a = random_matrix(GF(37),10)*10 > > > b = [a^i for i in [1..37]] > > > > > > }}} > > > > > > {{{id=122| > > > A = animate(matrix_plot(x) for x in b) > > > > > > }}} > > > > > > {{{id=120| > > > show(A) > > > > > > }}} > > > > Oh, yes, this is exactly it - I feel a little silly for not thinking > > of searching for "animate". > > > > Though it is still not at all easy to figure out how to do it. You > > have to think of animate; then you have to figure out that the mystery > > error message about 'convert' means you should find Imagemagick; then > > you have to figure out how to get it and unpack it (luckily I have > > Fink), etc. So another example of a steepish learning curve. Still, > > good to know how to do it. Actually, animate has some very > > interesting methods - I am really looking forward to trying the > > addition of animations! > > I totally agree. It would be great if somebody new of a simple > lightweight tool or way to assemble a bunch of png's together > into an animated gif -- I used convert (via imagemagick) since > it was the only thing I could find that works.
Duh -- now I remember what I was going to do with animate when I had more time. Just use javascript! Javascript is great at animating a sequence of images, scratching through, changing the speed, etc. So, who can find a good free javascript script to do this somewhere online, which we can touch up for inclusion in sage? William --~--~---------~--~----~------------~-------~--~----~ 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://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/ -~----------~----~----~----~------~----~------~--~---