[Matplotlib-users] How to give a name to a figure?

2008-09-15 Thread Mathieu Dubois
Hi, I'm a (still) beginner in scipy and I have a small problem with figures. Let me explain. I have to plot a lot of huge data so I have a lot of figures. I have set title and axes names. All the handles are in a list (the list can vary at run time according to the user input). My goal is to

Re: [Matplotlib-users] How to give a name to a figure?

2008-09-18 Thread Mathieu Dubois
Hi everyone, Sorry for the delayed response. Thank you very much everyone for the help. Maybe it would be a good idea to add a 'window_title' keyword to figure() (à la matlab ;). kind regards, Mathieu Jae-Joon Lee wrote: >> Kind of awkward, but >> >> fig.canvas.manager.window.wm_title() >> >>

[Matplotlib-users] Displaying the gradient of an image

2010-06-29 Thread Mathieu Dubois
Hello, I'm playing with some image processing algorithm (HOG descriptor) and I'm a bit lost. I am a newbie in image processing (especially in python). I have computed the vertical and horizontal gradients of an image (convolution with [-1, 0, 1] on the 0 and 1 axis respectively). After that I

Re: [Matplotlib-users] Displaying the gradient of an image

2010-06-29 Thread Mathieu Dubois
Hello, I finally found the solution. It's as simple as: figure(); imshow(img); pylab.quiver(U, V, units='x'); Mathieu -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit