Function curveStep

  • A curve factory for step function (midpoint) generators.

    The curve generators produce a piecewise constant function (a step function) consisting of alternating horizontal and vertical lines. The y-value changes at the midpoint of each pair of adjacent x-values.

    Parameters

    Returns CurveGenerator