Re: [Matplotlib-users] marker=None not allowed?

2007-08-31 Thread Eric Firing
Alan G Isaac wrote: > Line2D documentation reads: > > marker: [ '+' | ',' | '.' | '1' | '2' | '3' | '4' > > 1. Minor documentation bug: missing end bracket Sort of. Actually, what is also missing is a very long list of possible markers, as given in the docstring for the set_marker method.

[Matplotlib-users] annotation problem

2007-08-31 Thread Alan G Isaac
I meant to be copying an annotation example from http://matplotlib.sourceforge.net/examples/annotation_demo.bak.py but it is not working. Am I just too bleary eyed because it is later here, or is there a problem with the example? Thank you, Alan Isaac Illustrate Annotation Proble

[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 sponsor

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, bu

[Matplotlib-users] plotting a pcolor over a contourf

2007-08-31 Thread Jordan Dawe
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 I'm plotting model topog

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 onl

[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 by:

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 of

[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 SF

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 li