On Wednesday, January 16, 2013 9:41:14 PM UTC-8, David Morawski wrote:
>
> I'm having some troubles figuring out matplotlib from within Sage. I'm
> interested in doing some animations, so I started with the first
> example<http://matplotlib.org/examples/animation/animate_decay.html>on
> matplotlib.org. I downloaded the source
> code<http://matplotlib.org/examples/animation/animate_decay.py>for the
> example and ran the following:
>
> sage: load('animate_decay.py')
> sage: plt.savefig('blah.png')
>
Instead:
sage: from animate_decay import *
sage: ani.save('blah.mp4')
or
sage: ani.save('blah.avi')
(Can you store animations in png files?)
--
John
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
Visit this group at http://groups.google.com/group/sage-support?hl=en.