Re: [matplotlib-devel] OpenGL backend and pyglet expertiments

2009-04-07 Thread Nicolas Rougier
I read the thread about mplot3d and the work that has been done by Jonathan Taylor. I wonder if an OpenGL backend is necessary at all. Jonathan's work seems to be great for simple 3D plotting while the mayavi mlab module is here for more serious rendering. I think I will concentrate my

Re: [matplotlib-devel] OpenGL backend and pyglet expertiments

2009-04-07 Thread Andrew Straw
Nicolas Rougier wrote: I read the thread about mplot3d and the work that has been done by Jonathan Taylor. I wonder if an OpenGL backend is necessary at all. Jonathan's work seems to be great for simple 3D plotting while the mayavi mlab module is here for more serious rendering. I

Re: [matplotlib-devel] OpenGL backend and pyglet expertiments

2009-04-07 Thread Andrew Straw
Nicolas Rougier wrote: What I do generally to have nice OpenGL output is to render screenshots at high resolution and then use something like gimp to resize them. I agree that it is far from optimal but it's pretty decent for a scientific paper. Other solutions are vector rendering of

Re: [matplotlib-devel] OpenGL backend and pyglet expertiments

2009-04-07 Thread Nicolas Rougier
BTW, my ideas were meant more as how to wedge MPL quickly into glipy with a minimum of work rather than a talented programmer with one year of free time to come up with the coolest scientific workflow GUI variety. Sorry, I did not understood your proposal in the first place... That

Re: [matplotlib-devel] OpenGL backend and pyglet expertiments

2009-04-06 Thread Cohen-Tanugi Johann
There has been a recent thread discussing sympy interface to pyglet in the context of matplotlib refactoring of the 3D code. See thread named 'Updating MPlot3D to a more recent matplotlib.' If you are porting pyglet interface to Ipython, Ondrej might be happy to see his sympy 3D plotting

Re: [matplotlib-devel] OpenGL backend and pyglet expertiments

2009-04-05 Thread Nicolas Rougier
There is also: http://www.loria.fr/~rougier/pycons.html which is a gtk shell with embedded matplotlib figures. Nicolas On 5 Apr, 2009, at 06:02 , Christopher Barker wrote: Eric Bruning wrote: The idea of a shell with inline plots is a fascinating one - Then check out reinteract --

Re: [matplotlib-devel] OpenGL backend and pyglet expertiments

2009-04-04 Thread Christopher Barker
Eric Bruning wrote: The idea of a shell with inline plots is a fascinating one - Then check out reinteract -- very cool: http://www.reinteract.org/trac/ (though no opengl) -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959

[matplotlib-devel] OpenGL backend and pyglet expertiments

2009-04-03 Thread Nicolas Rougier
Hello, While looking at possible solutions for a matplotlib OpenGL backend, I've been experimenting with pyglet (that has no dependencies) and coded a terminal with embedded 2d arrays display. Sources screenshots are available at: http://www.loria.fr/~rougier/glnumpy.html Since pyglet seems

Re: [matplotlib-devel] OpenGL backend and pyglet expertiments

2009-04-03 Thread Eric Bruning
The idea of a shell with inline plots is a fascinating one - I like the minimalism and directness of being able to plot data like this. And the speed of OpenGL is obviously attractive. Is the figure() call syntax different from the existing syntax for figure()? I think there's a usage pattern

Re: [matplotlib-devel] OpenGL backend and pyglet expertiments

2009-04-03 Thread Nicolas Rougier
Hi, I agree, shell with inline plot is a different issue. I mainly coded it as a proof a concept and because I find it useful for my own needs. The figure call is quite different from the figure call of matplotlib, only the name is common. The idea was to be able to describe a configuration

Re: [matplotlib-devel] OpenGL backend and pyglet expertiments

2009-04-03 Thread Fernando Perez
On Fri, Apr 3, 2009 at 4:17 AM, Nicolas Rougier nicolas.roug...@loria.fr wrote: Hello, While looking at possible solutions for a matplotlib OpenGL backend, I've been experimenting with pyglet (that has no dependencies) and coded a terminal with embedded 2d arrays display. Sources

Re: [matplotlib-devel] OpenGL backend and pyglet expertiments

2009-04-03 Thread Nicolas Rougier
Sorry for that, I coded it on linux and just tested on mac. I fixed the error and upload the new version on the same link. Tell me if it's ok. Nicolas On 3 Apr, 2009, at 18:55 , Fernando Perez wrote: On Fri, Apr 3, 2009 at 4:17 AM, Nicolas Rougier nicolas.roug...@loria.fr wrote: Hello,

Re: [matplotlib-devel] OpenGL backend and pyglet expertiments

2009-04-03 Thread Fernando Perez
On Fri, Apr 3, 2009 at 10:00 AM, Nicolas Rougier nicolas.roug...@loria.fr wrote: Sorry for that, I coded it on linux and just tested on mac. I fixed the error and upload the new version on the same link. Tell me if it's ok. Great! Would you have any interest in having this be

Re: [matplotlib-devel] OpenGL backend and pyglet expertiments

2009-04-03 Thread Nicolas Rougier
Sure, thread about IPython integration to be continued on ipython-dev list... Nicolas On 3 Apr, 2009, at 19:07 , Fernando Perez wrote: On Fri, Apr 3, 2009 at 10:00 AM, Nicolas Rougier nicolas.roug...@loria.fr wrote: Sorry for that, I coded it on linux and just tested on mac. I fixed