Hi,

 what's the easiest method of creating a square wave plot?
 Let's say I have a data stream of bits that have values of "1" or "-1".
 The plot function wants to draw a diagonal line between those points but I 
need to have a horizontal line. So to get a "square wave" I must insert 
additional points to the series when the values change.
 I wonder if there an easy way of doing this?
------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to