Re: [Matplotlib-users] path and bbox

2008-09-10 Thread Eric Firing
Michael Droettboom wrote: I just added a test of intersects_bbox to SVN that seems to be working correctly for short paths containing masked values. It would appear that masked values *should* be dealt with correctly (that is, in exactly the same way as they are drawn) by the intersection code

Re: [Matplotlib-users] subplots_adjust -- what am I doing wrong?

2008-09-10 Thread Adam
JJ, Thank you for sharing this. Although I have to admit I'm a bit surprised by what it takes to accomplish this, I think I will be able to use your class to do what I need to do, or at least get a lot of the way there. Cheers, -adam. On Tue, Sep 9, 2008 at 5:34 PM, Jae-Joon Lee <[EMAIL PROTECT

Re: [Matplotlib-users] path and bbox

2008-09-10 Thread Michael Droettboom
Ah, yes. The code was written with the assumption that the paths were treated as filled (which doesn't really matter whether they are closed or not). I have added a "filled" kwarg to Path.intersects_path and Path.intersects_bbox that when True treats the path(s) as filled, and when False does

Re: [Matplotlib-users] Information request

2008-09-10 Thread Jeff Whitaker
Antoine De Pauw wrote: > Sir, > > I'm sorry, as english is not my mothertongue and it is sometimes difficult to > be understandable. > > All is in the script I gave to you initially, except the point drawing code > which would be useless as it is proven not to work (I dont know the method to > d

Re: [Matplotlib-users] Information request

2008-09-10 Thread Jeff Whitaker
Antoine De Pauw wrote: > Thanks Jeff, > > In fact my points are arranged in three unsorted arrays, with a simple scheme > (thats why I couldn't plot them with imshow and others) > > arrays: > > [lat][lon][val] > [-10][ 17][0.3] > [ 37][ 23][3.7] > ... ... ... > > and so for many rows... >

Re: [Matplotlib-users] Information request

2008-09-10 Thread Antoine De Pauw
in fact the points are not in a rectangular array and pixels are missing, like you said I'll put the code and binary file online tomorrow as I have not access to it today, but reading it is not the problem when read, the values are in three arrays of same size, which I will have to convert to

[Matplotlib-users] Help: How to limit text to a definite area

2008-09-10 Thread Samir Wadhawan
Hi, I am trying to draw a rectangle of a fixed size and them put a lable/text on it. However if the text is too long, it goes out of bounds. Is there a way I restrict the text within the rectangle margins. heres what I am using ## def rectangle(self, lower, u

Re: [Matplotlib-users] Help: How to limit text to a definite area

2008-09-10 Thread John Hunter
On Wed, Sep 10, 2008 at 2:55 PM, Samir Wadhawan <[EMAIL PROTECTED]> wrote: > Hi, > > I am trying to draw a rectangle of a fixed size and them put a lable/text on > it. However if the text is too long, it goes out of bounds. Is there a way I > restrict the text within the rectangle margins. would i