From: Helmut Giese on
Hello out there,
I never realized it but plotting digital data is different from
plotting a "continuous" curve (like a sinus): You don't connect the
values at t(n) and t(n+1), because this would result in a sawtooth
like plot. Instead you draw a horizontal line until the value changes,
draw a vertical line up (or down) and continue from there.

Can BLT be used for this kind of plot? I checked the graph man page
and went thru the slides but couldn't find anything.
Any link will be greatly appreciated.
Best regards
Helmut Giese
From: MSEdit on
On Apr 13, 6:50 am, Helmut Giese <hgi...(a)ratiosoft.com> wrote:
> Hello out there,
> I never realized it but plotting digital data is different from
> plotting a "continuous" curve (like a sinus): You don't connect the
> values at t(n) and t(n+1), because this would result in a sawtooth
> like plot. Instead you draw a horizontal line until the value changes,
> draw a vertical line up (or down) and continue from there.
>
> Can BLT be used for this kind of plot? I checked the graph man page
> and went thru the slides but couldn't find anything.
> Any link will be greatly appreciated.
> Best regards
> Helmut Giese

BLT has 4 point connection line styles which are configured using the
"-smooth" option :
linear: Straight line (default)
step: only horizontal/vertical (what you are looking for)
natural
quadratic

I have only used the first two and they work well. I use the stepl to
display state information.

Martyn
From: Helmut Giese on
Hi Martyn,
>BLT has 4 point connection line styles which are configured using the
>"-smooth" option :
>linear: Straight line (default)
>step: only horizontal/vertical (what you are looking for)
>natural
>quadratic
I'd probaly never considered this option to be of relevance here..
Thanks, great.
Best regards
Helmut Giese