GLINE

Purpose:

Generates a line in accordance with the specified parameters.

Syntax:

GLINE(length, spacing, slope, y-intercept)

length

-

An integer. The length of the output series.

spacing

-

A real, the spacing (delta x) between each point on the x-axis.

slope

-

A real, the slope of the desired line.

y-intercept

-

A real, the point of intersection with the y-axis.

Returns:

A series.

Example:

gline(100, 0.1, 4, 2)

 

creates a line in the current Window. The line will be comprised of 100 points spaced 0.1 x-units apart. The equation of the line will be y = 4x + 2.

See Also:

.. (Range Specifier)

LINE

LINSPACE

LOGSPACE

GNUMBER