Linearly scales a series by slope and offset.
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. |
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.
Equivalent to series * slope + offset (i.e. y = mx + b).