I used 100 steps to work out low pt, but the program used like 9 for the illustration so the point does not match, the points are spline fit rather than a series of say straights. I am a civil engineer and for years road Vertical curves have been plotted as a pline with little tiny straight segments.
In the updated code Gile asks for how many steps so could do 100 or change my code to a lower value depends on how accurate you want it. I can say at 9 steps for curve compared 100 for low pt, there is a big difference but curve looks good.
You could change the POINT to say text writing X & Y value but would want something like,
Left pole xxxrl
low pt aaaarl
right pole bbbbrl
Your opportunity to have a go at coding.