You can subscribe to this list here.
2003 
_{Jan}

_{Feb}

_{Mar}

_{Apr}

_{May}
(3) 
_{Jun}

_{Jul}

_{Aug}
(12) 
_{Sep}
(12) 
_{Oct}
(56) 
_{Nov}
(65) 
_{Dec}
(37) 

2004 
_{Jan}
(59) 
_{Feb}
(78) 
_{Mar}
(153) 
_{Apr}
(205) 
_{May}
(184) 
_{Jun}
(123) 
_{Jul}
(171) 
_{Aug}
(156) 
_{Sep}
(190) 
_{Oct}
(120) 
_{Nov}
(154) 
_{Dec}
(223) 
2005 
_{Jan}
(184) 
_{Feb}
(267) 
_{Mar}
(214) 
_{Apr}
(286) 
_{May}
(320) 
_{Jun}
(299) 
_{Jul}
(348) 
_{Aug}
(283) 
_{Sep}
(355) 
_{Oct}
(293) 
_{Nov}
(232) 
_{Dec}
(203) 
2006 
_{Jan}
(352) 
_{Feb}
(358) 
_{Mar}
(403) 
_{Apr}
(313) 
_{May}
(165) 
_{Jun}
(281) 
_{Jul}
(316) 
_{Aug}
(228) 
_{Sep}
(279) 
_{Oct}
(243) 
_{Nov}
(315) 
_{Dec}
(345) 
2007 
_{Jan}
(260) 
_{Feb}
(323) 
_{Mar}
(340) 
_{Apr}
(319) 
_{May}
(290) 
_{Jun}
(296) 
_{Jul}
(221) 
_{Aug}
(292) 
_{Sep}
(242) 
_{Oct}
(248) 
_{Nov}
(242) 
_{Dec}
(332) 
2008 
_{Jan}
(312) 
_{Feb}
(359) 
_{Mar}
(454) 
_{Apr}
(287) 
_{May}
(340) 
_{Jun}
(450) 
_{Jul}
(403) 
_{Aug}
(324) 
_{Sep}
(349) 
_{Oct}
(385) 
_{Nov}
(363) 
_{Dec}
(437) 
2009 
_{Jan}
(500) 
_{Feb}
(301) 
_{Mar}
(409) 
_{Apr}
(486) 
_{May}
(545) 
_{Jun}
(391) 
_{Jul}
(518) 
_{Aug}
(497) 
_{Sep}
(492) 
_{Oct}
(429) 
_{Nov}
(357) 
_{Dec}
(310) 
2010 
_{Jan}
(371) 
_{Feb}
(657) 
_{Mar}
(519) 
_{Apr}
(432) 
_{May}
(312) 
_{Jun}
(416) 
_{Jul}
(477) 
_{Aug}
(386) 
_{Sep}
(419) 
_{Oct}
(435) 
_{Nov}
(320) 
_{Dec}
(202) 
2011 
_{Jan}
(321) 
_{Feb}
(413) 
_{Mar}
(299) 
_{Apr}
(215) 
_{May}
(284) 
_{Jun}
(203) 
_{Jul}
(207) 
_{Aug}
(314) 
_{Sep}
(321) 
_{Oct}
(259) 
_{Nov}
(347) 
_{Dec}
(209) 
2012 
_{Jan}
(322) 
_{Feb}
(414) 
_{Mar}
(377) 
_{Apr}
(179) 
_{May}
(173) 
_{Jun}
(234) 
_{Jul}
(151) 
_{Aug}

_{Sep}

_{Oct}

_{Nov}

_{Dec}

S  M  T  W  T  F  S 

1
(2) 
2
(8) 
3
(8) 
4
(3) 
5
(15) 
6
(11) 
7
(4) 
8

9
(3) 
10
(21) 
11
(5) 
12
(7) 
13
(10) 
14
(12) 
15
(3) 
16
(4) 
17
(16) 
18
(20) 
19
(11) 
20
(9) 
21
(1) 
22

23
(15) 
24
(11) 
25
(1) 
26
(9) 
27
(5) 
28

29
(1) 
30

31
(6) 




From: John Hunter <jdh2358@gm...>  20070714 20:36:44

On 7/14/07, David WardeFarley <dwf@...> wrote: > > Bus error > > > > This is using recent svn builds of numpy and maplotlib. In particular, you need to make sure you remove your build directory and your install directory, get the latest svn, and do a clean rebuild. JDH 
From: Christopher Fonnesbeck <listservs@ma...>  20070714 19:44:33

On Jul 14, 2007, at 3:43 PM, David WardeFarley wrote: > Hi Chris, > > This just came up I think a day or so ago. Are you using TkAgg as > your backend, I am using TkAgg > and are you closing the plot window in between the two histograms? > Yes. > Try updating from svn, Andrew just fixed a bug. Will try, thanks.  Christopher Fonnesbeck + Atlanta, GA + fonnesbeck at mac dot com + Contact me on AOL IM using email address 
From: David WardeFarley <dwf@cs...>  20070714 19:39:26

Hi Chris, This just came up I think a day or so ago. Are you using TkAgg as your backend, and are you closing the plot window in between the two histograms? Try updating from svn, Andrew just fixed a bug. David On 14Jul07, at 2:05 PM, Chris Fonnesbeck wrote: > I get a repeatable bus error when trying to plot more than > one histogram of simulated data. The first plot is generated > without error, but invariably a second plot crashes: > > In [4]: x = random.negative_binomial(2, 0.25, 1000) > > In [5]: from pylab import * > > In [6]: hist(x) > Out[6]: > (array([240, 318, 206, 102, 65, 38, 17, 5, 6, 3]), > array([ 0., 3., 6., 9., 12., 15., 18., 21., 24., 27.]), > <a list of 10 Patch objects>) > > In [7]: show() > > In [8]: x = random.negative_binomial(2, 0.5, 1000) > > In [9]: hist(x) > Bus error > > This is using recent svn builds of numpy and maplotlib. > > >  >  > This SF.net email is sponsored by DB2 Express > Download DB2 Express C  the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Matplotlibusers mailing list > Matplotlibusers@... > https://lists.sourceforge.net/lists/listinfo/matplotlibusers 
From: Chris Fonnesbeck <listservs@ma...>  20070714 18:35:13

I get a repeatable bus error when trying to plot more than one histogram of simulated data. The first plot is generated without error, but invariably a second plot crashes: In [4]: x = random.negative_binomial(2, 0.25, 1000) In [5]: from pylab import * In [6]: hist(x) Out[6]: (array([240, 318, 206, 102, 65, 38, 17, 5, 6, 3]), array([ 0., 3., 6., 9., 12., 15., 18., 21., 24., 27.]), <a list of 10 Patch objects>) In [7]: show() In [8]: x = random.negative_binomial(2, 0.5, 1000) In [9]: hist(x) Bus error This is using recent svn builds of numpy and maplotlib. 
From: John Hunter <jdh2358@gm...>  20070714 18:25:19

On 7/14/07, Adam Mercer <ramercer@...> wrote: > On 14/07/07, John Hunter <jdh2358@...> wrote: > > > OK, the problem with this code is fill expects the vertices of the > > polygon you want filled and you are only providing the top part, not > > the bottom. The modified version of your code fills between your line > > and the bottom of zero > > Thanks John, that works great! You're welcome. If you are a svn user, I added a more efficient poly_between to matplotlib.mlab and updated the fill_between.py example, which shows filling below, above and between. def poly_between(x, ylower, yupper): """ given a sequence of x, ylower and yupper, return the polygon that fills the regions between them. ylower or yupper can be scalar or iterable. If they are iterable, they must be equal in length to x return value is x, y arrays for use with Axes.fill """ Nx = len(x) if not iterable(ylower): ylower = ylower*npy.ones(Nx) if not iterable(yupper): yupper = yupper*npy.ones(Nx) x = npy.concatenate( (x, x[::1]) ) y = npy.concatenate( (yupper, ylower[::1]) ) return x,y 
From: Adam Mercer <ramercer@gm...>  20070714 18:12:16

On 14/07/07, John Hunter <jdh2358@...> wrote: > OK, the problem with this code is fill expects the vertices of the > polygon you want filled and you are only providing the top part, not > the bottom. The modified version of your code fills between your line > and the bottom of zero Thanks John, that works great! Cheers Adam 
From: John Hunter <jdh2358@gm...>  20070714 16:47:02

On 7/14/07, Adam Mercer <ramercer@...> wrote: > I've attached the complete code > > ./params.py minmass 4 maxmass 100 output test.png OK, the problem with this code is fill expects the vertices of the polygon you want filled and you are only providing the top part, not the bottom. The modified version of your code fills between your line and the bottom of zero We do need to provide some helper functions to make this easier 
From: Adam Mercer <ramercer@gm...>  20070714 16:07:07

On 14/07/07, John Hunter <jdh2358@...> wrote: > OK, you'll probably need to give us a complete, free standing example > for us to debug this. I've attached the complete code ./params.py minmass 4 maxmass 100 output test.png Cheers Adam > 
From: John Hunter <jdh2358@gm...>  20070714 15:39:29

On 7/14/07, Adam Mercer <ramercer@...> wrote: > I found these examples whilst trying to get the fill() method to work > but couldn't get anything working. I added the line > > axes.fill(mass, minimum_mass(options, mass), facecolor='red', alpha=0.5) > > which, if I'm following the example correctly, should fill the area > under the minimum mass line red, but it has no effect on the plot. OK, you'll probably need to give us a complete, free standing example for us to debug this. 
From: Adam Mercer <ramercer@gm...>  20070714 15:06:53

On 14/07/07, John Hunter <jdh2358@...> wrote: > On 7/14/07, Adam Mercer <ramercer@...> wrote: > > > I'm trying to shade a couple of areas of a plot I'm creating, I need > > to shade the area above one line and the area below another. > > According to the documentation it looks like I need to use the fill() > > method but I can't get it to work, the code I use for creating the > > plot is below: > > The cookbook entry > > http://www.scipy.org/Cookbook/Matplotlib/SigmoidalFunctions > > illustrates how to fill below lines  it is a little more > complicated, because it fills below the intersection of two lines, but > it should help. See also > http://matplotlib.sf.net/examples/fill_demo.py I found these examples whilst trying to get the fill() method to work but couldn't get anything working. I added the line axes.fill(mass, minimum_mass(options, mass), facecolor='red', alpha=0.5) which, if I'm following the example correctly, should fill the area under the minimum mass line red, but it has no effect on the plot. Cheers Adam 
From: John Hunter <jdh2358@gm...>  20070714 14:49:13

On 7/14/07, Adam Mercer <ramercer@...> wrote: > I'm trying to shade a couple of areas of a plot I'm creating, I need > to shade the area above one line and the area below another. > According to the documentation it looks like I need to use the fill() > method but I can't get it to work, the code I use for creating the > plot is below: The cookbook entry http://www.scipy.org/Cookbook/Matplotlib/SigmoidalFunctions illustrates how to fill below lines  it is a little more complicated, because it fills below the intersection of two lines, but it should help. See also http://matplotlib.sf.net/examples/fill_demo.py JDH 
From: Adam Mercer <ramercer@gm...>  20070714 14:38:32

Hi I'm trying to shade a couple of areas of a plot I'm creating, I need to shade the area above one line and the area below another. According to the documentation it looks like I need to use the fill() method but I can't get it to work, the code I use for creating the plot is below: # import required modules from matplotlib import matplotlib from matplotlib import figure from matplotlib.backends.backend_agg import FigureCanvasAgg as FigureCanvas # set matplotlib plot parameters matplotlib.rcParams.update({ "font.size": 8.0, "axes.titlesize": 10.0, "axes.labelsize": 10.0, "xtick.labelsize": 8.0, "ytick.labelsize": 8.0, "legend.fontsize": 8.0, "figure.dpi": 300, "savefig.dpi": 300, "text.usetex": True }) def parameter_space_plot(options): # setup figure fig = figure.Figure() FigureCanvas(fig) fig.set_size_inches(5, 5) axes = fig.gca() axes.grid(True) axes.set_xlabel("Mass 1 / $M_\odot$") axes.set_ylabel("Mass 2 / $M_\odot$") # setup mass array mass = numpy.arange(0, options.max_mass + 1, 1) # plot min/max mass lines axes.plot(mass, minimum_mass(options, mass), 'b') axes.plot(mass, maximum_mass(options, mass), 'b') # plot equal mass line axes.plot(mass, mass, 'k') # set axes limits axes.set_xlim([0, options.max_mass]) axes.set_ylim([0, options.max_mass]) # return plot return fig could anyone give me pointers as to how I could shade the region of the plot about the maximum mass line and the area below the minimum mass line? Cheers Adam 