smooth.step Function (GPL)

Syntax

smooth.step(<algebra>)

or

smooth.step.<position>(<algebra>)

<algebra>. Graph algebra, such as x*y. Refer to Brief Overview of GPL Algebra for an introduction to graph algebra.

<position>. The position of the data value in relation to the drawn line. Valid values are right, left, and center, with right being the default.

Description

Uses step interpolation to draw the graphic element through the data values. Use the jump function to specify that no connecting lines are drawn between the lines at each data value.

Examples

Figure 1. Example: Creating a step interpolation line
ELEMENT: line(position(smooth.step.center(salbegin*salary)))