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
(10) 
2
(11) 
3
(4) 
4
(2) 
5
(10) 
6
(20) 
7
(18) 
8
(32) 
9
(15) 
10
(2) 
11
(5) 
12
(7) 
13
(13) 
14
(9) 
15
(17) 
16
(10) 
17
(4) 
18
(7) 
19
(15) 
20
(16) 
21
(10) 
22
(19) 
23
(13) 
24
(4) 
25
(5) 
26
(8) 
27
(10) 
28
(17) 
29
(7) 
30
(18) 
31
(2) 
From: glenn andrews <ga@ag...>  20080511 23:45:34

I have been working on a similar problem related to finance. What I have done is call the "R" statistical software from Python and then use matplotlib for graphing within Python I use Python2.4, the "R" statistical package, and a Python package called rpy which interfaces to "R" from Python LINKs: http://rpy.sourceforge.net/ http://www.rproject.org/ My tendency is to submit the data to "R" which does the statistical calculations, return the results to Python, and then use Matplotlib to plot. Keep in mind that "R" also has good plotting capabilities and you might just go with that solution. ########################################### Eric Firing wrote: >You might get a good answer here (although I don't have it), but be >aware that your question relates to math, not plotting, so it is not >really a matplotlib question. You need nonlinear leastsquares. Look >in scipy, and try the amazing Google. > >Eric > >Adrian PriceWhelan wrote: > > >>Hey guys  >> >>I'm working on a Histogram of pixel values from an astronomical image >>that looks like a Gaussian curve and then polynomial decay. I'm >>trying to figure out a way to fit a Gaussian regression to the >>histogram, but can't find any documentation on this. thanks! >> >>adrian >> >> > > >This SF.net email is sponsored by the 2008 JavaOne(SM) Conference >Don't miss this year's exciting event. There's still time to save $100. >Use priority code J8TL2D2. >http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone >_______________________________________________ >Matplotlibusers mailing list >Matplotlibusers@... >https://lists.sourceforge.net/lists/listinfo/matplotlibusers > > > 
From: Johann CohenTanugi <cohen@sl...>  20080511 18:33:17

Hi Adrian, if you need low level access there is a python wrapper of the MINUIT and MINUIT2 fitting libraries : http://code.google.com/p/pyminuit/ and http://code.google.com/p/pyminuit2/ It is targeted primarily toward High Energy Physics people, most of whom are familiar with the MINUIT library, but it would solve your problem as well. The doc is still lacking in the project, as I do not have much time, so feel free to ask me questions about it or even to send me some files so that I can try out to script the fit on my side (I work in the field of astroparticle physics and astrophysics, so I might even be interested in the context of your problem!) . best, Johann Adrian PriceWhelan wrote: > Hey guys  > > I'm working on a Histogram of pixel values from an astronomical image > that looks like a Gaussian curve and then polynomial decay. I'm > trying to figure out a way to fit a Gaussian regression to the > histogram, but can't find any documentation on this. thanks! > > adrian > >  > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Matplotlibusers mailing list > Matplotlibusers@... > https://lists.sourceforge.net/lists/listinfo/matplotlibusers > 
From: Eric Firing <efiring@ha...>  20080511 07:22:51

You might get a good answer here (although I don't have it), but be aware that your question relates to math, not plotting, so it is not really a matplotlib question. You need nonlinear leastsquares. Look in scipy, and try the amazing Google. Eric Adrian PriceWhelan wrote: > Hey guys  > > I'm working on a Histogram of pixel values from an astronomical image > that looks like a Gaussian curve and then polynomial decay. I'm > trying to figure out a way to fit a Gaussian regression to the > histogram, but can't find any documentation on this. thanks! > > adrian 
From: Adrian PriceWhelan <pricewhelan@ma...>  20080511 07:12:00

Hey guys  I'm working on a Histogram of pixel values from an astronomical image that looks like a Gaussian curve and then polynomial decay. I'm trying to figure out a way to fit a Gaussian regression to the histogram, but can't find any documentation on this. thanks! adrian 
From: Eric Firing <efiring@ha...>  20080511 03:01:39

James Boyle wrote: > I cannot get the contourf extended color map ranges to show up in the plot. > the extend option of contourf states: > > extend = 'neither', 'both', 'min', 'max' > Unless this is 'neither' (default), contour levels are > automatically added to one or both ends of the range so that > all data are included. These added ranges are then > mapped to the special colormap values which default to > the ends of the colormap range, but can be set via > Colormap.set_under() and Colormap.set_over() methods > > The code at the of this message produces a plot with color bar > extensions that are the end colors of the bone colormap and not red and > green. The colorMap._rgba_over value is red and the colorMap._rgba_under > value is green, but this is not reflected in the plot. > Any idea what I am doing wrong? > I am using matplotlib 0.91.1 > > Jim Jim, I agree, this is confusing. I'm not quite sure what to do about it, other than possibly add or modify an example. The problem is that by default, the norm is autoscaling so that your entire data range is within the vmintovmax range, so your contour plot and your colorbar are simply not seeing any outofrange values. The immediate solution is to use something like the clim function (or the set_clim method of the mappable) to define the range that is to be mapped to the normal colors; anything out of *this* range will then be mapped to the under or over value. See below for a modification to your script that will map the first and last contour layers to your under and over values. This is just an example; it may not be exactly what you want. > > figure() > colorMap = cm.bone > colorMap.set_over('r') > colorMap.set_under('g') > CS = contourf(X, Y, Z, 10,cmap=colorMap,origin=origin, extend = 'both') CS.set_clim(CS.cvalues[1], CS.cvalues[2]) > cbar = colorbar(CS) > savefig('contourf_demo1') Eric 