Wilang Documentation1.0.0+4

triangle#

Draw a triangle through three points.

Available in: math cells.

Syntax#

triangle(a, b, c)

Arguments and behavior#

Each point is a two-element array. This is a convenience spelling of polygon([a, b, c]).

Example#

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

Example
plot(triangle([-2, -1], [2, -1], [0, 2]))

Expected result: plot.

See also#

plot

All functions · Math guides