Talk About Network

Google





Graphics > Gnuplot interactive function plotter > plot a boxcar
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 3547 of 3655
Post > Topic >>

plot a boxcar

by Mauro <mauro.italia@[EMAIL PROTECTED] > Oct 17, 2008 at 02:49 PM

Hi all,
this time I'm dealing with plotting something like boxcar.
Let say I have an input stream: 0 0 0 0 1 1 1 1 0 0 0 0, and I want to
plot it, it should be something like that:

    *****
    *    *
    *    *
    *    *
****    ****

(or similar to this:
http://upload.wikimedia.org/wikipedia/commons/5/55/NRZcode.png)
the problem is the vertical line: gnuplot joins the last 0 with the
first 1, and the line is not vertical :-/
do you have any hint?
I was thinking to use histograms (weird!), any other idea?
(actually the stream I'm dealing with is something like: ....0 0 0 0 1
1 1  0 0 0 -1 -1 -1 1 1 0 0 1 0 -1 1 0....)

cheers,
Mauro
 




 3 Posts in Topic:
plot a boxcar
Mauro <mauro.italia@[E  2008-10-17 14:49:13 
Re: plot a boxcar
Brendan Halpin <brenda  2008-10-17 23:02:59 
Re: plot a boxcar
Mauro <mauro.italia@[E  2008-10-17 18:08:38 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Wed Jan 7 23:45:06 PST 2009.