Re: [Matplotlib-users] Newbie Q re: Lorenz attractor

2015-03-09 Thread Prahas David Nafissian
Dear Ben, Amit, and Ryan,

Thanks so much for your input!  Looking forward to
finding the time to give it a go!

Best,

--Prahas


On Sun, Mar 8, 2015 at 7:14 PM, Benjamin Root  wrote:
> Yes, absolutely it will work... so long as you do not use blitting. Blitting
> for mplot3d is pretty much useless anyway (I think draws of the axes occur
> anyway regardless of the blit mode), but it is also broken for the macosx
> backend, anyway.
>
> Cheers!
> Ben Root
>
> On Sun, Mar 8, 2015 at 8:59 PM, Amit Saha  wrote:
>>
>> On Mon, Mar 9, 2015 at 7:31 AM, Prahas David Nafissian
>>  wrote:
>> > Hi,
>> >
>> > I want to create an animation of the Lorenz attractor,
>> > plotting each new point as it is generated by the
>> > equations.  So we see the graph "being drawn"
>> > over time.
>>
>> You will very likely need to use the animation API for this. I
>> recently tried to demonstrate the Henon function in a fashion that it
>> appears I am drawing it over time:
>> https://www.youtube.com/watch?v=76ll818RlpQ
>>
>> You can see the code linked from there:
>>
>> https://github.com/amitsaha/playground/blob/master/recipes/henon_animation.py
>>
>> That might give you a starting point of what you are trying to do.
>>
>> >
>> > Also, as it is being drawn, I want to be able to
>> > rotate the screen in 3 dimensions.
>>
>> Sorry, nothing much I can add here.
>>
>> Best,
>> Amit.
>>
>> --
>> http://echorand.me
>>
>>
>> --
>> Dive into the World of Parallel Programming The Go Parallel Website,
>> sponsored
>> by Intel and developed in partnership with Slashdot Media, is your hub for
>> all
>> things parallel software development, from weekly thought leadership blogs
>> to
>> news, videos, case studies, tutorials and more. Take a look and join the
>> conversation now. http://goparallel.sourceforge.net/
>> ___
>> Matplotlib-users mailing list
>> Matplotlib-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
>

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Newbie Q re: Lorenz attractor

2015-03-08 Thread Benjamin Root
Yes, absolutely it will work... so long as you do not use blitting.
Blitting for mplot3d is pretty much useless anyway (I think draws of the
axes occur anyway regardless of the blit mode), but it is also broken for
the macosx backend, anyway.

Cheers!
Ben Root

On Sun, Mar 8, 2015 at 8:59 PM, Amit Saha  wrote:

> On Mon, Mar 9, 2015 at 7:31 AM, Prahas David Nafissian
>  wrote:
> > Hi,
> >
> > I want to create an animation of the Lorenz attractor,
> > plotting each new point as it is generated by the
> > equations.  So we see the graph "being drawn"
> > over time.
>
> You will very likely need to use the animation API for this. I
> recently tried to demonstrate the Henon function in a fashion that it
> appears I am drawing it over time:
> https://www.youtube.com/watch?v=76ll818RlpQ
>
> You can see the code linked from there:
>
> https://github.com/amitsaha/playground/blob/master/recipes/henon_animation.py
>
> That might give you a starting point of what you are trying to do.
>
> >
> > Also, as it is being drawn, I want to be able to
> > rotate the screen in 3 dimensions.
>
> Sorry, nothing much I can add here.
>
> Best,
> Amit.
>
> --
> http://echorand.me
>
>
> --
> Dive into the World of Parallel Programming The Go Parallel Website,
> sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for
> all
> things parallel software development, from weekly thought leadership blogs
> to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> ___
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Newbie Q re: Lorenz attractor

2015-03-08 Thread Amit Saha
On Mon, Mar 9, 2015 at 7:31 AM, Prahas David Nafissian
 wrote:
> Hi,
>
> I want to create an animation of the Lorenz attractor,
> plotting each new point as it is generated by the
> equations.  So we see the graph "being drawn"
> over time.

You will very likely need to use the animation API for this. I
recently tried to demonstrate the Henon function in a fashion that it
appears I am drawing it over time:
https://www.youtube.com/watch?v=76ll818RlpQ

You can see the code linked from there:
https://github.com/amitsaha/playground/blob/master/recipes/henon_animation.py

That might give you a starting point of what you are trying to do.

>
> Also, as it is being drawn, I want to be able to
> rotate the screen in 3 dimensions.

Sorry, nothing much I can add here.

Best,
Amit.

-- 
http://echorand.me

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] Newbie Q re: Lorenz attractor

2015-03-08 Thread Prahas David Nafissian
Hi,

I want to create an animation of the Lorenz attractor,
plotting each new point as it is generated by the
equations.  So we see the graph "being drawn"
over time.

Also, as it is being drawn, I want to be able to
rotate the screen in 3 dimensions.

Will MatPlot do this on a Mac (10.8.5)?

Thanks!

PS -- here is code using MatPlot to create the "full" Lorenz:

http://matplotlib.org/examples/mplot3d/lorenz_attractor.html

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users