Re: [Matplotlib-users] Histogram with overlapping bins

2012-10-22 Thread fiolj
Hi, some time ago I needed the same thing and hacked the function histogram (from numpy or matplo. Here goes my function ## Calculates the histogram allowing for overlapping bins, which are given by # # @param a # @param bins a sequence of pairs (left,right), limits for each bin # # @return hist

Re: [Matplotlib-users] Histogram with overlapping bins

2012-10-21 Thread fiolj
Hi, some time ago I needed the same thing and hacked the function histogram (from numpy). Here goes my function, I hope it will result useful Cheers, Juan ## Calculates the histogram allowing for overlapping bins, which are given by # # @param a # @param bins a sequence of pairs