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
(5) 
2
(24) 
3
(2) 
4

5
(4) 
6
(1) 
7
(22) 
8
(9) 
9
(23) 
10
(6) 
11

12
(7) 
13
(17) 
14
(12) 
15
(10) 
16
(22) 
17
(11) 
18
(6) 
19
(11) 
20
(13) 
21
(10) 
22
(7) 
23
(7) 
24
(5) 
25
(3) 
26
(20) 
27
(17) 
28
(25) 
29
(16) 
30
(17) 
31
(8) 
From: Eric Firing <efiring@ha...>  20070321 21:36:30

John Hunter wrote: > On 3/21/07, Michael Lerner <mglerner@...> wrote: >> Hi, >> >> I want to make a figure that has three subplots. The top one should >> be a big, mostly square thing. The bottom two should be rectangular >> things. That is, I want it to look like this: >> >> XXXXX >> XXXXX >> XXXXX >> XXXXX >> >> XXXXX >> XXXXX >> >> XXXXX >> XXXXX >> >> so, I'm using subplot(311), subplot(312), subplot(313). But, things >> are getting resized so that each of the rows has the same height. >> That really messes up the aspect ratio for my top row. > > The following might hrlp: > > ax1 = subplot(211) > ax2 = subplot(413) > ax3 = subplot(414) > > JDH And if you want to tweak the positions you can use, e.g., oldpos = ax1.get_position() to find out the present position, and ax1.set_position(newpos) to change it. The position rectangles are [left, bottom, width, height] in relative coordinatesthat is, fractions of the figure width and height. If you want to control the aspect ratio of the data without changing the position rectangle (e.g. after adjusting it as above), use ax1.set_aspect(aspect, adjustable='datalim'). Eric 
From: Richard Albright <ralbright@in...>  20070321 20:42:33

use tick top: ax = twinx() ax.xaxis.tick_top() On Wed, 20070321 at 18:17 +0100, Matthew Czesarski wrote: > Hi matplotlibusers! > > OK, yeah, I'm pretty new to matplotlib/pylab... I played with biggles > for a short while but, all (more than 3) my pythonusing associates in > the astronomical community we saying matplotlib was the way of the > future... So I started with matplotlib. > > I would like to plot some points, y vs x on a graph. y containing > simple values, x is an angle. plot(x, y)  that bit is fine, values > as a function of angle. But what I need to do is then have an another > labelling scheme on the upper x axes. This would be say, a distance, > and so is simply a constant multiplied by the lower x. I figured there > would be some way I could rescale the xaxis and write it at the top, > but a way of accomplishing this I cannot find. > > I have been playing with twinx a bit but not getting very far. It's > not that I want to plot 2 different datasets because the two are > equivalent. Is it the nonexistnt twiny() I am looking for? Or is > there simply a way to redraw axes over the current ones with a certain > range, that leaves the range in the first plot untouched? I have > messed with twinx a bit and some of the discussion in the archive for > this list but I can't figure out how to do it... > > Hope that makes sense? Sorry my first post was a beg for help > Matt >  > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveysand earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ Matplotlibusers mailing list Matplotlibusers@... https://lists.sourceforge.net/lists/listinfo/matplotlibusers  Rick Albright Senior Quantitative Analyst Indie Research, LLC 254 Witherspoon Street Princeton, NJ 08542 (609)4971030 ralbright@... 
From: John Hunter <jdh2358@gm...>  20070321 20:38:59

On 3/21/07, Michael Lerner <mglerner@...> wrote: > Hi, > > I want to make a figure that has three subplots. The top one should > be a big, mostly square thing. The bottom two should be rectangular > things. That is, I want it to look like this: > > XXXXX > XXXXX > XXXXX > XXXXX > > XXXXX > XXXXX > > XXXXX > XXXXX > > so, I'm using subplot(311), subplot(312), subplot(313). But, things > are getting resized so that each of the rows has the same height. > That really messes up the aspect ratio for my top row. The following might hrlp: ax1 = subplot(211) ax2 = subplot(413) ax3 = subplot(414) JDH 
From: Michael Lerner <mglerner@gm...>  20070321 20:30:44

Hi, Sorry if I'm just being thick .. I read through several of the examples, and didn't figure it out. I can figure out how to use figsize to set the size of the entire figure, but I want several subplots on one figure. Maybe you can help me fix some sample code. This plots a matrix and sqrt(x)/2. I'd like to have the matrix show up as a square while sqrt(x)/2 shows up as a rectangle. The call to axis('scaled') makes my matrix show up as square, but I'd like it to be stretched out so that it uses up all of the horizontal space and makes the figure taller. That is, I want row 1 to be taller than row 2. Thanks, Michael #!/usr/bin/env python from pylab import * subplot(211) mat = array([[1,2,3],[4,5,6],[7,8,9]]) pcolormesh(mat) axis('scaled') subplot(212) dt = 0.001 t = arange(0.0, 10.0, dt) root_t_over_2 = (t/2.0)**0.5 plot(t,root_t_over_2) show() On 3/21/07, Zack <zack24@...> wrote: > Hi Michael, > > On 21 March 2007, Michael Lerner wrote: > > > so, I'm using subplot(311), subplot(312), subplot(313). But, things > > are getting resized so that each of the rows has the same height. > > That really messes up the aspect ratio for my top row. > > > > I tried axis('equal') and axis('scaled') after making the first > > subplot. I do indeed get a good aspect ratio, but it shrinks things > > to do this, rather than stretching things. I'd really like the top > > row to be taller than the bottom rows. How can I do this? > > See the examples. > > You just have to set figure size you need. > > f = Figure(figsize=(5,4), dpi=100) > >  > Zack > >  > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveysand earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Matplotlibusers mailing list > Matplotlibusers@... > https://lists.sourceforge.net/lists/listinfo/matplotlibusers >  Biophysics Graduate Student Carlson Lab, University of Michigan http://www.umich.edu/~mlerner http://lernerclan.net 
From: Zack <zack24@gm...>  20070321 19:05:06

Hi Michael, On 21 March 2007, Michael Lerner wrote: > so, I'm using subplot(311), subplot(312), subplot(313). But, things > are getting resized so that each of the rows has the same height. > That really messes up the aspect ratio for my top row. > > I tried axis('equal') and axis('scaled') after making the first > subplot. I do indeed get a good aspect ratio, but it shrinks things > to do this, rather than stretching things. I'd really like the top > row to be taller than the bottom rows. How can I do this? See the examples. You just have to set figure size you need. f = Figure(figsize=(5,4), dpi=100)  Zack 
From: Michael Lerner <mglerner@gm...>  20070321 18:38:47

Hi, I want to make a figure that has three subplots. The top one should be a big, mostly square thing. The bottom two should be rectangular things. That is, I want it to look like this: XXXXX XXXXX XXXXX XXXXX XXXXX XXXXX XXXXX XXXXX so, I'm using subplot(311), subplot(312), subplot(313). But, things are getting resized so that each of the rows has the same height. That really messes up the aspect ratio for my top row. I tried axis('equal') and axis('scaled') after making the first subplot. I do indeed get a good aspect ratio, but it shrinks things to do this, rather than stretching things. I'd really like the top row to be taller than the bottom rows. How can I do this? If it matters, I make the top box with pcolormesh and the bottom rectangles with plot. Thank you, michael  Biophysics Graduate Student Carlson Lab, University of Michigan http://www.umich.edu/~mlerner http://lernerclan.net 
From: Matthew Czesarski <matthew.czesarski@gm...>  20070321 17:18:13

Hi matplotlibusers! OK, yeah, I'm pretty new to matplotlib/pylab... I played with biggles for a short while but, all (more than 3) my pythonusing associates in the astronomical community we saying matplotlib was the way of the future... So I started with matplotlib. I would like to plot some points, y vs x on a graph. y containing simple values, x is an angle. plot(x, y)  that bit is fine, values as a function of angle. But what I need to do is then have an another labelling scheme on the upper x axes. This would be say, a distance, and so is simply a constant multiplied by the lower x. I figured there would be some way I could rescale the xaxis and write it at the top, but a way of accomplishing this I cannot find. I have been playing with twinx a bit but not getting very far. It's not that I want to plot 2 different datasets because the two are equivalent. Is it the nonexistnt twiny() I am looking for? Or is there simply a way to redraw axes over the current ones with a certain range, that leaves the range in the first plot untouched? I have messed with twinx a bit and some of the discussion in the archive for this list but I can't figure out how to do it... Hope that makes sense? Sorry my first post was a beg for help Matt 
From: Werner Hoch <werner.ho@gm...>  20070321 07:55:35

Hi Simson, On Wednesday 21 March 2007 02:59, Simson Garfinkel wrote: > Thanks for the information. Unfortunately, this CDF doesn't look like > the CDF that we see in other published papers. I'm not sure what they > are done with... But they have a thin line that shows the integral > of all measurements, rather than a bar graph. The problem with a bar > graph is that different bin widths give different results. > > GNU Plot seems to do a decent job, as can e seen at http:// > chem.skku.ac.kr/~wkpark/tutor/gnuplot/gpdocs/prob.htm. But there > should be a way to do this nicely with matplotlib, right? Try this one: x = sin(arange(0,100,0.1)) ## your function ## plot the sorted value of your function against ## a linear vektor from 0 to 1 with the same length plot(sort(x), arange(len(x))/float(len(x))) Regrads Werner 
From: John Hunter <jdh2358@gm...>  20070321 02:58:32

On 3/20/07, Simson Garfinkel <simsong@...> wrote: > Thanks for the information. Unfortunately, this CDF doesn't look like > the CDF that we see in other published papers. I'm not sure what they > are done with... But they have a thin line that shows the integral > of all measurements, rather than a bar graph. The problem with a bar > graph is that different bin widths give different results. > > GNU Plot seems to do a decent job, as can e seen at http:// > chem.skku.ac.kr/~wkpark/tutor/gnuplot/gpdocs/prob.htm. But there > should be a way to do this nicely with matplotlib, right? Just replace ax.bar(bins, p) with ax.plot(bins, b) in the example code I posted previously... JDH 
From: Simson Garfinkel <simsong@ac...>  20070321 02:00:18

Thanks for the information. Unfortunately, this CDF doesn't look like the CDF that we see in other published papers. I'm not sure what they are done with... But they have a thin line that shows the integral of all measurements, rather than a bar graph. The problem with a bar graph is that different bin widths give different results. GNU Plot seems to do a decent job, as can e seen at http:// chem.skku.ac.kr/~wkpark/tutor/gnuplot/gpdocs/prob.htm. But there should be a way to do this nicely with matplotlib, right? On Mar 18, 2007, at 12:41 PM, John Hunter wrote: > On 3/17/07, Simson Garfinkel <simsong@...> wrote: >> Hi. I haven't been active for a while, but now I have another paper >> that I need to get out... > > Glad to have you back... > >> Anyway, I need to draw a cumulative distribution function, as the >> reviewers of my last paper really nailed me to the wall for including >> histograms instead of CDFs. Is there any way to plot a CDF with >> matplotlib? > > For analytic cdfs, see scipy.stats. I assume you need an empirical > cdf. You can use matplotlib.mlab.hist to compute the empirical pdf > (use normed=True to return a PDF rather than a frequency count). Then > use numpy.cumsum to do the cumulative sum of the pdf, multiplying by > the binsize so it approximates the integral. > > import matplotlib.mlab > from pylab import figure, show, nx > > x = nx.mlab.randn(10000) > p,bins = matplotlib.mlab.hist(x, 50, normed=True) > db = bins[1]bins[0] > cdf = nx.cumsum(p*db) > > fig = figure() > ax = fig.add_subplot(111) > ax.bar(bins, cdf, width=0.8*db) > show() > 