Function from a list of points
I feel like I'm missing something here, but I can't seem to find a nice way to do this.
I'd like to create a *function* (with associated properties, i.e. it will accept an input from its domain and return an output from its co-domain etc) from a list of (x,y) points, so that it joins the points with straight lines.
Exactly like the polyline command does, except that does not return a *function* (it returns a 'polyline' which appears to be a number equal to the length of the lines created).
I can create a *freehand* function using the pen tool... but not a more simple linear piecewise one like this?
Am I missing a command?