|
From: Steven B. <bo...@ph...> - 2012-10-20 21:21:48
|
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.05 - 0.15. So basically, I want the width of each bin to be greater than the spacing. Is this something that could be done with the histogram function? I did a couple of google searches and couldn't come up with anything meaningful. Apparently, 'rwidth' in the hist function just makes the displayed bars bigger or smaller. Any thoughts? -- Steven Boada Doctoral Student Dept of Physics and Astronomy Texas A&M University bo...@ph... |