Is it possible to create cyclic bins using xhistogram?

Viewed 12

I'm trying to bin data based on local time. I want a bin centered on 00 local time, but that would require the left bin edge to be greater in value than the right bin edge. For example, if the bin width is 2 hours, a bin centered on 00 local time would need to be (x > 23) and (x < 01) for example. This is different than say a bin centered on 03, which would be more simply (02 < x < 04).

I'm wondering if xhistogram has this capability or if I need to do something clever to make it work.

0 Answers
Related