.. highlightlang:: us .. index:: auto_xy_Integral .. _auto_xy_integral: auto_xy_Integral ================ .. us.tag auto_xy_Integral NOTREADYENGLISH auto_xy The function is obsolete. New scripts should use the :ref:`XYSetFilterFunctions` function. :ref:`auto_xy_Integral` creates a new dataset with the integral of the given dataset. .. function:: hDataNew = auto_xy_Integral(hData_Layer) .. us.return **Return Value** *hDataNew* is the handle of the new dataset. .. us.params **Parameters** .. uparam:: hData_Layer *hData_Layer* is a vector with two elements. The first element is a handle of a 2D dataset and the second element is a handle of a layer (diagram) to which the new dataset should be added. .. us.example **Example** :: hPage = auto_LoadTemplate("tpl_ger", "2 Diagramme"); auto_ImportData(GetRootDirectory() + "samples/vollast.asc"); hData = auto_LoadDataset("Diagramm 1", "N", "PME"); hLayer = PageGetLayerHandle(hPage, "Diagramm 2"); auto_xy_Integral([hData, hLayer]); auto_ScaleAxes(); auto_UpdatePage(); .. seealso:: :ref:`overview-automation`, :ref:`auto_LoadTemplate`, :ref:`auto_LoadDataset`, :ref:`PageGetLayerHandle` :sub:`id-831577`