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]))Interactive examples could not load. You can still copy the expressions.
Expected result: plot.