Re: [Matplotlib-users] Controling legend alignment

2006-10-30 Thread David Goldsmith
John Hunter wrote: David == David Goldsmith [EMAIL PROTECTED] writes: David Hi! OK, loc=(a,b) positions the legend, and appears to David place the lower left corner at (a,b) (axes coords.), right? yes David Is there some way to say that (a,b) should specify the

Re: [Matplotlib-users] Controling legend alignment

2006-10-30 Thread John Hunter
David == David Goldsmith [EMAIL PROTECTED] writes: David OK, I was afraid of that; in that case, is there some way David to get the height and width of the legend (so I can do what David I want programatically)? Thanks again, Again, afraid not. At least nothing obvious. The

Re: [Matplotlib-users] Crash on OS X 10.4.7 with Univ. Python 2.4.3 and Tk frontend

2006-10-30 Thread Alan G Isaac
On Thu, 26 Oct 2006, Michele Vallisneri apparently wrote: I've been building matplotlib 0.87.7 on a 10.4.7 OS X system, with Universal Python 2.4.3 from pythonmac.org. I've been following instructions at http://sourceforge.net/mailarchive/message.php?msg_id=36901627 Please keep posting

Re: [Matplotlib-users] Controling legend alignment

2006-10-30 Thread Christopher Barker
John Hunter wrote: The legend placement is done dynamically at draw time, Ah, so it looks like it does make sense for the user to specify an alignment, and have it figured out at draw time. It might be better to patch legend directly to do what you want and send the patch our way. Or

[Matplotlib-users] Scaling graph

2006-10-30 Thread Gerardo Rivera
Hi, I'm trying to draw a line given an angle, magnitude, x0 and y0 location on a 2d line plot. I use the cosine and sine to find the x1 and y1 locations so that I can draw a line segment from x0, y0 to x1, y1. This works fine on a 200 x 200 (Width x Height) pixel graph. However, I have an