[Matplotlib-users] Rabinovich...

2015-05-30 Thread Prahas David Nafissian
Hello, My latest fractal music video, made with MatPlotLib. Enjoy! --Prahas https://www.youtube.com/watch?v=kh6ZLvpWr5kfeature=youtu.be -- ___ Matplotlib-users mailing list

[Matplotlib-users] Lorenz: A Composition

2015-04-01 Thread Prahas David Nafissian
Hi, For a little right brain diversion, here's what I created using matplotlib: https://www.youtube.com/watch?v=gWkFnPHbHokfeature=youtu.be Enjoy! --Prahas -- Dive into the World of Parallel Programming The Go Parallel

Re: [Matplotlib-users] Set a 3-D point?

2015-03-30 Thread Prahas David Nafissian
David Nafissian prahas.mu...@gmail.com wrote: Hi Mat-Plotters, I'm trying to modify the below code so that I can set the initial conditions to (-1,0,0.5). The code below randomly sets the initial conditions: ** # I changed the equation -- it's not Lorenz. N_trajectories = 1

[Matplotlib-users] Set a 3-D point?

2015-03-29 Thread Prahas David Nafissian
Hi Mat-Plotters, I'm trying to modify the below code so that I can set the initial conditions to (-1,0,0.5). The code below randomly sets the initial conditions: ** # I changed the equation -- it's not Lorenz. N_trajectories = 1 def lorentz_deriv((x, y, z), t0, aa=1.1, yy=0.87):

[Matplotlib-users] Lorenz -- another Q

2015-03-11 Thread Prahas David Nafissian
Hi, Given the Lorenz code shared yesterday, is there a way to generate a log file of the x,y,z points generated? Thanks in advance. --Prahas In case you deleted the code: import numpy as np from scipy import integrate from matplotlib import pyplot as plt from mpl_toolkits.mplot3d import

Re: [Matplotlib-users] Lorenz -- another Q

2015-03-11 Thread Prahas David Nafissian
Hello, Solved the write issue. I tried numpy savetxt but it chokes on 3D arrays. So I'm doing this: x_t.tofile('test3.txt',sep= ,format=%f) Only issue -- no end-of-lines. But I can write a quick Pascal program to fix this... Once again, thanks!

Re: [Matplotlib-users] Lorenz - solution

2015-03-10 Thread Prahas David Nafissian
gallery? Full credit, of course. On Tue, Mar 10, 2015 at 11:30 AM, Prahas David Nafissian prahas.mu...@gmail.com wrote: Friends, I thought you'd like to see the solution. Many thanks to Jake Vanderplas for his code and teachings: https://jakevdp.github.io/blog/2013/02/16/animating

Re: [Matplotlib-users] Lorenz - solution

2015-03-10 Thread Prahas David Nafissian
, Benjamin Root ben.r...@ou.edu wrote: +1000!! Great job! Would you mind if I clean it up a bit and add it to the mplot3d/animation gallery? Full credit, of course. On Tue, Mar 10, 2015 at 11:30 AM, Prahas David Nafissian prahas.mu...@gmail.com wrote: Friends, I thought you'd like to see

[Matplotlib-users] Lorenz - solution

2015-03-10 Thread Prahas David Nafissian
Friends, I thought you'd like to see the solution. Many thanks to Jake Vanderplas for his code and teachings: https://jakevdp.github.io/blog/2013/02/16/animating-the-lorentz-system-in-3d/ If you start a new IP Notebook session, run as your first entry: %pylab and then copy and paste the text

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

2015-03-09 Thread Prahas David Nafissian
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 amitsaha...@gmail.com wrote: On Mon, Mar 9, 2015 at 7:31 AM, Prahas David Nafissian

[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)?