.. highlightlang:: us .. _auto_xy_extractrange: auto_xy_ExtractRange ==================== .. index:: auto_xy_ExtractRange .. us.tag auto_xy_ExtractRange NOTREADYENGLISH auto_xy The function is obsolete. New scripts should use the :ref:`XYSetFilterFunctions` function. :ref:`auto_xy_ExtractRange` .. function:: hDataNew = auto_xy_ExtractRange(hData_Layer, xmin, xmax) .. 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. .. uparam:: xmin *xmin* .. uparam:: xmax *xmax* .. us.comment **Comment** The x-coordinates of all given dataset must be strictly increasing. .. seealso:: :ref:`overview-automation` :sub:`id-1921272`