[Matplotlib-users] mlab.rk4
hi everyone, I'm trying to solve a lineal differential equation system, and I,m proving with the mlab.rk4 function. The problem I've found is that if the solution if a complex number, I can't use this functin, because it doesn't accept complex number, and I can only get the real case. Have anyone treat with this problem? What do you use to solve differential equation systems? - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Matplotlib-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] mlab.rk4
On 4/27/07, darkside <[EMAIL PROTECTED]> wrote: > hi everyone, > I'm trying to solve a lineal differential equation system, and I,m proving > with the mlab.rk4 function. > The problem I've found is that if the solution if a complex number, I can't > use this functin, because it doesn't accept complex number, and I can only > get the real case. > > Have anyone treat with this problem? > What do you use to solve differential equation systems? rk4 was something I wrote long ago to have a simple ODE integrator in case scipy wasn't installed on my system. You should be using the scipy.integrate tools - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Matplotlib-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] skip mpl-axes-interaction during key_press_event's
Hi everybody, I use key_press_event's to handle my program. Therefore I want to skip the matplotlib usage of some keys e.g. 'f', 'g' and 'l'. I didn't find the right method to turn the usage off. Can anybody help me? Could this method be useful for buttons and sliders from widgets.py, too? Because one don't want to scale or set grid upon these widgets, isn't it? best regards and thanks in advance for any hints, Matthias - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Matplotlib-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] small question: svn mpl.__revision__
Hi devolopers, one small remark about the mpl svn. I recognized, that in the file ./lib/matplotlib/__init__.py the actual revision is: __revision__ = '$Revision: 3131 $' and the svn info tells "Revision: 3257". best regards, Matthias - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Matplotlib-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] small question: svn mpl.__revision__
It hasn't changed since rev 3131: $ svn info __init__.py | grep 'Rev' Revision: 3257 Last Changed Rev: 3131 Matthias Michler wrote: > Hi devolopers, > > one small remark about the mpl svn. I recognized, that in the > file ./lib/matplotlib/__init__.py the actual revision is: > __revision__ = '$Revision: 3131 $' > and the svn info tells "Revision: 3257". > > best regards, > Matthias > > - > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > ___ > Matplotlib-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Matplotlib-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] small question: svn mpl.__revision__
Hello Andrew, On Friday 27 April 2007 18:33, Andrew Straw wrote: > It hasn't changed since rev 3131: > > $ svn info __init__.py | grep 'Rev' > Revision: 3257 > Last Changed Rev: 3131 Thanks for you advice. I asked because I thought that this __revision__ is the matplotlib.__revison__ that I get e.g. in IPython. That's why I thought it should be the revision of the whole project. Just a remark - you can forget about it. best regards, Matthias > Matthias Michler wrote: > > Hi devolopers, > > > > one small remark about the mpl svn. I recognized, that in the > > file ./lib/matplotlib/__init__.py the actual revision is: > > __revision__ = '$Revision: 3131 $' > > and the svn info tells "Revision: 3257". > > > > best regards, > > Matthias > > > > - > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > ___ > > Matplotlib-users mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/matplotlib-users - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Matplotlib-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] Matplotlib using OpenGL
Hi, I'm looking into using matplotlib as the backend for doing visualization for my dissertation work. This would replace some existing Qt/OpenGL code I've written (but isn't too extensible) for 2D plots of weather radar data (think pcolor style plots). I've been using matplotlib for awhile for other projects, and love it, but it has the drawback that it's interactive graphics are not all that quick (especially pcolor). (Note: I know imshow is faster, but my data are on a polar grid.) I've been spoiled by the speed of OpenGL graphics and the ease of interactive data analysis, so I just can't go back. Has anyone tried making an OpenGL backend? If not, can anyone think of any reason why it couldn't be done, maybe using wx's GLCanvas? Any comments, or starting points on where I could see how to go about this would be _greatly_ appreciated. Thanks, Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Matplotlib-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] mlab.rk4
2007/4/27, John Hunter <[EMAIL PROTECTED]>: On 4/27/07, darkside <[EMAIL PROTECTED]> wrote: > hi everyone, > I'm trying to solve a lineal differential equation system, and I,m proving > with the mlab.rk4 function. > The problem I've found is that if the solution if a complex number, I can't > use this functin, because it doesn't accept complex number, and I can only > get the real case. > > Have anyone treat with this problem? > What do you use to solve differential equation systems? rk4 was something I wrote long ago to have a simple ODE integrator in case scipy wasn't installed on my system. You should be using the scipy.integrate tools Thank you very much!!! I used scipy.integrate tools, splitting complex and real part of the equations, and it worked so good!! I tried to use: In addition I have filed a ticket for a complex ODE solver. http://projects.scipy.org/scipy/scipy/ticket/334 But I haven't been able to compile it. It returns a lot of errors when I tried. I suposse that it's because of the fortran compiler, but I don't know. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Matplotlib-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Matplotlib using OpenGL
Ryan May wrote: > Has anyone tried making an > OpenGL backend? If not, can anyone think of any reason why it couldn't > be done, maybe using wx's GLCanvas? I don't know enough about OpenGL, but I wonder if it would really help much, as much of the scaling, etc, it happening in MPL code anyway. It could be great for future stuff with more 3-d though. VTK is worth a look for you, as well. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception [EMAIL PROTECTED] - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Matplotlib-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Matplotlib using OpenGL
Ryan May wrote: > Hi, > > I'm looking into using matplotlib as the backend for doing visualization > for my dissertation work. This would replace some existing Qt/OpenGL > code I've written (but isn't too extensible) for 2D plots of weather > radar data (think pcolor style plots). I've been using matplotlib for > awhile for other projects, and love it, but it has the drawback that > it's interactive graphics are not all that quick (especially pcolor). > (Note: I know imshow is faster, but my data are on a polar grid.) I've > been spoiled by the speed of OpenGL graphics and the ease of interactive > data analysis, so I just can't go back. Has anyone tried making an > OpenGL backend? If not, can anyone think of any reason why it couldn't > be done, maybe using wx's GLCanvas? > > Any comments, or starting points on where I could see how to go about > this would be _greatly_ appreciated. I expect pcolor will be slow regardless of the backend. Have you tried pcolormesh? It is a much faster pcolor-workalike, but unfortunately it has a major bug. If I remember correctly, alpha doesn't work right and resizing a window doesn't work right if some data are masked; things that should get erased, don't. I tried to track it down once but got lost in Agg internals. Anyway, try it and see if it is adequate for what you need to do now. Eric - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Matplotlib-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/matplotlib-users
