Re: [Matplotlib-users] Matplotlib in Cygwin

2008-10-20 Thread John Hunter
On Mon, Oct 20, 2008 at 6:33 AM, Pete <[EMAIL PROTECTED]> wrote: > Has anyone had any luck compiling Matplotlib using cygwin? > Out of the box I get the following: (I have numpy, tcl/tk and libpng1.2 > installed) > > ~/matpl/matplotlib-0.98.3$ python setup.py build > ===

Re: [Matplotlib-users] finding the intersection of 2 rectangles

2008-10-20 Thread Alan G Isaac
> Mathew Yeates wrote: >> Is there an easy way to find the locations in rectangle1 that are >> covered by rectangle2? I couldn't find this anywhere. On 10/20/2008 7:46 AM Jeff Whitaker apparently wrote: > Mathew: There's nothing included in matplotlib - I recommend Shapely > (http://trac.gispyt

Re: [Matplotlib-users] Can't Import Pylab on XP - runtime error.

2008-10-20 Thread Dave_Evo
Yes, I can write to the disk and the python directory, I installed Python myself in the directory without need for any other administrator privileges. I also tried re-applying read/write status in properties but still the same error... Dave I'm not a regular Windows user, so I'm probably not o

[Matplotlib-users] Matplotlib in Cygwin

2008-10-20 Thread Pete
Has anyone had any luck compiling Matplotlib using cygwin? Out of the box I get the following: (I have numpy, tcl/tk and libpng1.2 installed) ~/matpl/matplotlib-0.98.3$ python setup.py build BUILDING MATPLOTLIB

Re: [Matplotlib-users] Fwd: contour legend

2008-10-20 Thread John Hunter
On Mon, Oct 20, 2008 at 6:57 AM, Jakub Urban <[EMAIL PROTECTED]> wrote: > C:\Python25\lib\site-packages\matplotlib\legend.pyc in > _update_positions(self, r > enderer) > 521 ydata = y*np.ones(handle.get_xdata().shape, float) > 522 handle.set_ydata(ydata+h/2.

[Matplotlib-users] Fwd: contour legend

2008-10-20 Thread Jakub Urban
Hello everybody! I'm trying to make a contour plot and add a legend for it. The code is basically --- from numpy import * from matplotlib.pyplot import * # put anything into x,y,z arrays ctr = contour(x,y,z) # plots ok contours of z(x,y) ctr.collections[0].set_label('z') legend() show() --- The le

Re: [Matplotlib-users] finding the intersection of 2 rectangles

2008-10-20 Thread Jeff Whitaker
Mathew Yeates wrote: > Is there an easy way to find the locations in rectangle1 that are > covered by rectangle2? I couldn't find this anywhere. > > Mathew > Mathew: There's nothing included in matplotlib - I recommend Shapely (http://trac.gispython.org/lab/wiki/Shapely). It's an interface t

[Matplotlib-users] muiltiple curves in one grid

2008-10-20 Thread Kurt Mueller
Hi, In an aerodynamic environment. I need to plot multiple curves in one grid. A standard view would be the coefficients of: 1) lift vs. angle-of-attack 2) lift vs. drag 3) pitching-moment vs. angle-of-attack all three curves can be out of multiple data-sets (polars). This 3 curves need to be i