LINE

Purpose:

Linearly scales a series by slope and offset.

Syntax:

LINE(series, slope, offset)

series

-

Any series or expression evaluating to a series.

slope

-

A scalar. The slope of the generated line.

offset

-

A scalar. The offset of generated line.

Example:

line({1, 2, 3}, 2, 3)

 

generates the series {5, 7, 9} with a sample spacing of 1.

 

gline(3, 1, 2, 5) returns an identical series.

Remarks:

Equivalent to series * slope + offset (i.e. y = mx + b).

See Also:

.. (Range Specifier)

GLINE

LINSCALE

RESCALE