Spline Toolbox
  Go to function:
    Search    Help Desk 
getcurve    See Also

Interactive creation of a cubic (spline) curve

Syntax

Description

getcurve displays a gridded window and asks for input. As the user clicks on points in the gridded window, the broken line connecting these points is displayed. When the user is done, (indicated by clicking outside the gridded window), 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 the last point is close to the initial point, a closed curve is drawn. Clicking twice (or more times) in succession at a point permits the curve to have a corner at that point.

See Also

cscvn



[ Previous | Help Desk | Next ]