[Matplotlib-users] Uneven line spacing

2009-05-13 Thread Ng, Enrico
I am using figtext() to add text to a figure. I have noticed that with muti-line text, the linespacing will look uneven due to letters which extend below. For example: figtext(0,0,"ppp\naaa\nggg\nsss") Will look something like this (exaggerated) ppp aaa ggg Sss With a larger space under lett

Re: [Matplotlib-users] Polar plotting clockwise and rotated

2009-05-01 Thread Ng, Enrico
01, 2009 2:14 AM To: Ng, Enrico Subject: Re: [Matplotlib-users] Polar plotting clockwise and rotated With mpl from svn (and using ipython -pylab), the following works: rr = rand(36) r = np.hstack((rr, [rr[0]])) theta = linspace(0, 2*pi, 37) polar(theta, r) Eric

Re: [Matplotlib-users] Polar plotting clockwise and rotated

2009-04-30 Thread Ng, Enrico
The rotation and resetting of the labels isn't a big issue. The issues is when I reverse the direction. Matplotlib seems to only want to plot in an anti-clockwise direction. I can transform the data to be backwards so that it looks ok, however when it tries to connect the start and end points, i

[Matplotlib-users] Polar plotting clockwise and rotated

2009-04-16 Thread Ng, Enrico
I've been trying to figure out how to do this for a while. I need to make polar plots which go around clockwise and have 0deg on top (north) instead of on the side (east). How can this be done? -- Stay on top of everythi