plotReImLines

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.

If the function returns a complex number, plots the real and imaginary parts separately.

Note

Note that since the computation is not symbolic, the lines may not belong to the function.

Syntax

plotReImLines(...funcs, max?)

Parameters

Return value

A Plot object.

Examples

plotReImLines(x => x**2 + 5*x + sqrt(-1), 6)


−6−4−2246−6−4−2246

See also