plotLines

Returns a plot in Cartesian coordinates by calling the function for each value of x to get the corresponding y value, and drawing a line between each pair of points.

Note

Note that since the computation is not symbolic, the lines may not belong to the function, as evidenced in the example below for tan(x).

Syntax

plotLines(...funcs, max?)

Parameters

Return value

A Plot object.

Examples

plotLines(x=>sin(x), x=>cos(x), x=>tan(x))


−4−224−6−4−2246

See also