.. highlightlang:: us .. _xygetxrange: XYGetXRange =========== .. index:: XYGetXRange .. us.tag XYGetXRange ENGLISH xy.data :ref:`XYGetXRange` returns the smallest and largest x-coordinates of the data points. .. function:: rvMinMax = XYGetXRange(hData) rvMinMax = XYGetXRange(hData, bExt) .. us.return **Return Value** *rvMinMax* is a vector with 2 elements: .. list-table:: :header-rows: 1 * - Value - Meaning * - rvMinMax[1] - smallest x-coordinate * - rvMinMax[2] - largest y-coordinate .. us.params **Parameters** .. uparam:: hData The handle of a dataset created with :ref:`XYCreate` or :ref:`TYCreate`. .. uparam:: bExt This parameter specifies if the function will access the original data or the filtered data. .. list-table:: :header-rows: 1 * - Value - Description * - -1 - If filtered data is available it will access filtered data, otherwise it will access original data. Default value is -1. * - 0 - Access original data. * - 1 - Access filtered data. .. seealso:: :ref:`overview-xy-datasets`, :ref:`XYCreate` :sub:`id-768441`