.. highlightlang:: us .. index:: auto_xy_Spline .. _auto_xy_spline: auto_xy_Spline ============== .. us.tag auto_xy_Spline NOTREADYENGLISH auto_xy The function is obsolete. New scripts should use the :ref:`XYSetFilterFunctions` function. :ref:`auto_xy_Spline` creates a new dataset where the points are connected by a spline. .. function:: hDataNew = auto_xy_Spline(hData_Layer) hDataNew = auto_xy_Spline(hData_Layer, rsSmoothFactor) hDataNew = auto_xy_Spline(hData_Layer, rsSmoothFactor, nPoints) .. us.return **Return Value** *hDataNew* is the handle of the new 2D dataset. .. us.params **Parameters** .. uparam:: hData_Layer *hData_Layer* is a vector with one or two elements: .. list-table:: :header-rows: 1 * - 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]. .. uparam:: rsSmoothFactor *rsSmoothFactor* is a number between 0 and 50. If the number greater than 0 smoothing is performed. The default value is 0. .. uparam:: nPoints *nPoints* is the number of points of the new dataset. The minimum number of points is 2. The default value is 100 points. .. seealso:: :ref:`overview-automation`, :ref:`auto_LoadDataset`, :ref:`fspline`, :ref:`pspline` :sub:`id-1264461`