Spline Toolbox    
getcurve

Interactive creation of a cubic spline curve

Syntax

Description

getcurve displays a gridded window and asks you for input. As you click on points in the gridded window, the broken line connecting these points is displayed. To indicate that you are done, click outside the gridded window. Then a cubic spline curve, spcv, through the point sequence, xy, is computed (via cscvn) and drawn. The point sequence and, optionally, the spline curve are output.

If you want a closed curve, place the last point close to the initial point.

If you would like the curve to have a corner at some point, click on that point twice (or more times) in succession.

See Also

cscvn


  fnzeros knt2brk, knt2mlt