Re: [Matplotlib-users] draw after set_data

2010-09-07 Thread Philippe Crave
hi, sorry to bring this up again. style haven't found how to draw my plot faster than self.fig.canvas.draw(), after a set_data() thanks 2010/9/1 Philippe Crave : > Hi, > > I use qt4 backend. > I update some lines doing something like that: > >   def draw_curves(self, datas, x): >       for y in

Re: [Matplotlib-users] Line changes color along its length

2010-09-07 Thread Ryan May
On Tue, Sep 7, 2010 at 6:50 PM, Brian Larsen wrote: > Hey all, > I think I know the answer here as "no" or something,  but say I have a curve > I want to plot and I want the color to change along the curve to denote the > 3rd variable is there anyway to do this is matplotlib? > What I mean is take

[Matplotlib-users] [ANN] grima -- pygtk+ widget that embeds matplotlib

2010-09-07 Thread Tom Vaughan
Hello, Today we have made Grima available as free software under the MIT license. Grima is a pygtk+ widget that embeds matplotlib. Basically, this means that Grima allows matplotlib to play nicely with the GTK+ main loop. Grima is hosted on GitHub at http://github.com/cdsi/grima. Please note that

[Matplotlib-users] Line changes color along its length

2010-09-07 Thread Brian Larsen
Hey all, I think I know the answer here as "no" or something, but say I have a curve I want to plot and I want the color to change along the curve to denote the 3rd variable is there anyway to do this is matplotlib? What I mean is take the simple plot from pylab import * plot(range(30), rang

[Matplotlib-users] Images as markers in matplotlib?

2010-09-07 Thread Joshua Holbrook
Hey y'all, I recently read about Chernoff faces (http://en.wikipedia.org/wiki/Chernoff_face) in one of Edward Tufte's books (great read btw) and would like to mess around with them in matplotlib.  My current approach is to generate the faces as images, and then use them as markers on an x-y plot (

[Matplotlib-users] EPD Webinar: How to solve ODEs with SciPy

2010-09-07 Thread Amenity Applewhite
Enthought Python Distribution Webinar September 10 This Friday,Warren Weckesser will host the first of three webinars in a series on solving differential equations in Python. We will take a close look at the two tools available for solving ordinary differential equations in SciPy: the "odeint

[Matplotlib-users] Span Selector and Rectangular Selector in wxpython on Windows

2010-09-07 Thread Aman Thakral
Hi, I seem to be encountering a strange problem. I'm using a SpanSelector and a RectangularSelector in my application and they seem to be working in Linux but not in Windows. I'm using wxpython as the gui layer. Has anyone else encountered similar issues? Thanks, Aman ---

[Matplotlib-users] Drawing Arrows in mplot3d

2010-09-07 Thread Torsten Hahn
Hi all, is there an easy way to draw an arrow in a 3D Plot (just a single arrow). I couldn't find any useful example in the 1.0.0 docu. Best regards, Torsten. -- This SF.net Dev2Dev email is sponsored by: Show off yo

Re: [Matplotlib-users] Smooth contourplots

2010-09-07 Thread Francesco Montesano
Dear Joe, finally I had time to come back to my python scritp for the contour plots. You're code works very nicelly and does exactly what I need. Thank you for the help Francesco 2010/7/26 Joe Kington : > It sounds like you're wanting a gaussian kernel density estimate (KDE) (not > the desktop!

Re: [Matplotlib-users] drawing circles with scatter

2010-09-07 Thread Benjamin Root
2010/9/7 Guillaume Chérel > Hello, > > I'm trying to draw circles with the scatter function. They are supposed > to represent trees in the savannah. It is thus important that they are > displayed with a proper size, that is, one which represents their actual > size on the field. After quite som

[Matplotlib-users] drawing circles with scatter

2010-09-07 Thread Guillaume Chérel
Hello, I'm trying to draw circles with the scatter function. They are supposed to represent trees in the savannah. It is thus important that they are displayed with a proper size, that is, one which represents their actual size on the field. After quite some confusion, I've found out (I thin