On 2013-01-19, John H Palmieri <[email protected]> wrote:
> ------=_Part_158_32247560.1358624181276
> Content-Type: text/plain; charset=ISO-8859-1
>
>
>
> 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')
yep, this works just fine!
>
> 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.