The polygonplot command draws a polygonal path through given
points.
polygonscatterplot is a synonym for polygonplot.
Examples.
The listplot draws a polygonal path, but in an order
determined by you.
plotlist is a synonym for listplot.
Unlike polygonplot, the listplot command can’t be given two lists of numbers as arguments.
Examples.
If you want to get coordinates on the polygonal path, you can use the The linear_interpolate command will find coordinates on the polygonal path.
Example.
Input:
Output:
⎡ ⎢ ⎣ |
| ⎤ ⎥ ⎦ |