Wilang Documentation1.0.0+4

polyline#

Draw an open path through the authored vertices.

Available in: math cells.

Syntax#

polyline([[x1, y1], [x2, y2], ...])

Arguments and behavior#

Each vertex is a two-element array. The path is not closed, and it has no interior, so a fill request is reported as a warning.

Example#

Edit the inputs, then use Run or Reset. Changes stay in this example.

Example
plot(polyline([[0, 0], [1, 2], [3, 0]]))

Expected result: plot.

See also#

plot

All functions · Math guides