Re: [Matplotlib-users] plotting time series of bits

2012-12-06 Thread Jason Grout
On 12/5/12 8:36 PM, Dale Lukas Peterson wrote: > I have a time series of 32-bit unsigned integers in the form of a > numpy array with dtype=numpy.uint32. The bits of each integer in > array correspond to various boolean states collected during an > experiment. I would like to make a plot this dat

Re: [Matplotlib-users] plotting time series of bits

2012-12-06 Thread Oliver King
Hi Luke, > I been able to use the bitwise_and() and right_shift() on the data to > get individual arrays which are populated with only 0's and1's. > > What I'm not clear on is now how to get the solid filled rectangle for > areas where the bit is high and nothing when the bit is low. > > Is the

[Matplotlib-users] plotting time series of bits

2012-12-05 Thread Dale Lukas Peterson
I have a time series of 32-bit unsigned integers in the form of a numpy array with dtype=numpy.uint32. The bits of each integer in array correspond to various boolean states collected during an experiment. I would like to make a plot this data in the following way: 1) time on the horizontal axis