[Matplotlib-users] Histogram with overlapping bins

2012-10-20 Thread Steven Boada
Let's say I generate a bunch of random numbers from 0-1. Then, I'd like to make a histogram of it. But here's the clincher. I'd like my bins to overlap a bit. For example, if the first bin is from 0 - 0.1, centered on 0.05, I'd like the next (second) bin to be centered on 0.1 and range from 0.0

Re: [Matplotlib-users] Histogram with overlapping bins

2012-10-20 Thread Steven Boada
It'd be cool if we could do something like bins = [(0.0,0.05,0.1),(0.05,0.1,0.15)...] Where I have specified the left edge, center and right edge of each bin. Yeah, that'd be pretty slick. S On Sat Oct 20 16:21:41 2012, Steven Boada wrote: > Let's say I generate a bunch of random numbers from

Re: [Matplotlib-users] Histogram with overlapping bins

2012-10-20 Thread Damon McDougall
On Sat, Oct 20, 2012 at 10:25 PM, Steven Boada wrote: > It'd be cool if we could do something like > > bins = [(0.0,0.05,0.1),(0.05,0.1,0.15)...] > > Where I have specified the left edge, center and right edge of each > bin. Yeah, that'd be pretty slick. > > S > > On Sat Oct 20 16:21:41 2012, Stev

Re: [Matplotlib-users] Histogram with overlapping bins

2012-10-20 Thread Benjamin Root
On Saturday, October 20, 2012, Damon McDougall wrote: > On Sat, Oct 20, 2012 at 10:25 PM, Steven Boada > > > wrote: > > It'd be cool if we could do something like > > > > bins = [(0.0,0.05,0.1),(0.05,0.1,0.15)...] > > > > Where I have specified the left edge, center and right edge of each > > bin

Re: [Matplotlib-users] Histogram with overlapping bins

2012-10-20 Thread Damon McDougall
On Sat, Oct 20, 2012 at 11:37 PM, Benjamin Root wrote: > > > On Saturday, October 20, 2012, Damon McDougall wrote: >> >> On Sat, Oct 20, 2012 at 10:25 PM, Steven Boada >> wrote: >> > It'd be cool if we could do something like >> > >> > bins = [(0.0,0.05,0.1),(0.05,0.1,0.15)...] >> > >> > Where I

[Matplotlib-users] mpl_binutils: Plotting from the command-line with matplotlib

2012-10-20 Thread Damon McDougall
All, Several days ago I tested the waters and asked you guys, the community, how useful you thought a command-line front-end to matplotlib would be. The overwhelmingly positive feedback was enough for me to sit down and figure out how to do this well, and in a way that would mimic existing tools t