Re: [Matplotlib-users] Fitting a curve

2007-08-31 Thread Christian Meesters
Hoi, There is still MPL's polyfit function and I have to admit that Steve Schmerler's solution looks better that mine, but I've pasted a quick dirty solution here: http://www.python-forum.de/topic-8363.html It shows the use of polyfit as well as (almost) Steve's approach. Further examples on

[Matplotlib-users] Get pixels position of a Text object

2007-08-31 Thread Romain Bignon
Hello, I want to get pixels position of a Text object on my imagine, but there isn't any methods of this class to get them. How can I do ? Regards, -- Romain Bignon - http://progs.coderz.info http://www.inl.fr - This

Re: [Matplotlib-users] PS and imshow

2007-08-31 Thread Petr Danecek
OK, I've got it. Previously, I checked the quality of the output image by two means: by visual inspection in gv and by checking the size of the output eps images. I was puzzled by the different sizes of the images at magnification 1. Also, convert produces much larger eps files. When the size

[Matplotlib-users] hatching background

2007-08-31 Thread Christian Meesters
Hi, is it somehow possible to have a hatch in parts of the background, which would achieve something like this pseudo-parameter to axvspan pylab.axvspan(2, 10, hatch='//')? TIA Christian - This SF.net email is sponsored

Re: [Matplotlib-users] Get pixels position of a Text object

2007-08-31 Thread John Hunter
On 8/31/07, Romain Bignon [EMAIL PROTECTED] wrote: Hello, I want to get pixels position of a Text object on my imagine, but there isn't any methods of this class to get them. How can I do ? You can use the t.get_window_extent() method of the text object, with the caveat that this only works

Re: [Matplotlib-users] plotting a pcolor over a contourf

2007-08-31 Thread Eric Firing
Jordan Dawe wrote: I've been trying to plot a pcolor over a contourf with a masked array in the pcolor so that parts of the contour will show through underneath, but whenever I try to do this the pcolor wipes out the contourf. I can do this fine with a contourf over another contourf, but

[Matplotlib-users] marker=None not allowed?

2007-08-31 Thread Alan G Isaac
Line2D documentation reads: marker: [ '+' | ',' | '.' | '1' | '2' | '3' | '4' 1. Minor documentation bug: missing end bracket 2. Why is marker=None no longer allowed? Cheers, Alan Isaac - This SF.net email is