auto_xy_SplineΒΆ
The function is obsolete. New scripts should use the XYSetFilterFunctions function.
auto_xy_Spline creates a new dataset where the points are connected by a spline.
-
hDataNew = auto_xy_Spline(hData_Layer)
-
hDataNew = auto_xy_Spline(hData_Layer, rsSmoothFactor)
-
hDataNew = auto_xy_Spline(hData_Layer, rsSmoothFactor, nPoints)
Return Value
hDataNew is the handle of the new 2D dataset.
Parameters
-
hData_Layer
hData_Layer is a vector with one or two elements:
Value Meaning hData_Layer[1] Handle of a dataset. The new dataset is added to the diagram to which the dataset hData_Layer[1] belongs. hData_Layer[1, 2] The first element is the handle of a dataset and the second element is the handle of diagram (layer). The new dataset is added to the diagram with the handle hData_Layer[2].
-
rsSmoothFactor
rsSmoothFactor is a number between 0 and 50. If the number greater than 0 smoothing is performed. The default value is 0.
-
nPoints
nPoints is the number of points of the new dataset. The minimum number of points is 2. The default value is 100 points.
See also
id-1264461