directional steps 1d demo, adapted from comportexviz signal steps 1d demo