[Matplotlib-users] Pie Charts, How to control pie chart size in figure?

2010-08-10 Thread Michael Waters
Hi, I am making a simple pie chart that needs to be small ~3x3 inches. The problem I am having is that the text labels get pushed out side the figure. Is there anyway to make the plot smaller relative to the figure size? Here is my code and the resulting plot: from pylab import * # make a squar

[Matplotlib-users] _legmarker attribute error in in legend using vlines

2009-10-16 Thread Michael Waters
When I try to make a legend after using the vlines command, I get a _legmarker error. my code: / plot(two_theta,y_value_list_1) vlines(two_theta,[0],y_value_list_2,linewidth = 2) legend(['1','2'])/ the error: /Exception in Tkinter callback Traceback (most recent call last): File "/usr/lib

Re: [Matplotlib-users] Is there an easy way to turn on automatic subticks?

2009-10-16 Thread Michael Waters
Ryan May wrote: > On Fri, Oct 16, 2009 at 12:23 PM, Michael Waters wrote: > >> I am making regular Cartesian coordinate graphs with linear scales on >> the axis. I would really like to have automatic subticks to make reading >> data easier. Is there an easy way to do th

[Matplotlib-users] Is there an easy way to turn on automatic subticks?

2009-10-16 Thread Michael Waters
I am making regular Cartesian coordinate graphs with linear scales on the axis. I would really like to have automatic subticks to make reading data easier. Is there an easy way to do this? Thanks -mike w. -- Come build