Previous Up Next

9.2.3  Polygonal paths: polygonplot ligne_polygonale linear_interpolate listplot plotlist

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:

linear_interpolate([[1,2,6,9],[3,4,6,12]],2,7,1)

Output:



2.03.04.05.06.07.0
4.04.55.05.56.08.0



Previous Up Next