Polyline Command Example

Details

Action

Draws a sequence of lines in the selected graph window.

polyline [ [1,2,3], [2,6,12] ]

Plots the points (1,2) (2,6) (3,12) then connects the points with straight lines. The first point is not connected to the last point.

polyline getpoints(true, 5)

Connects 5 points selected by the user, one point for each click of the left mouse button.