.. highlightlang:: us .. _tyadddata: TYAddData ========= .. index:: TYAddData .. us.tag TYAddData NOTREADYENGLISH ty.data New400 Changed530 :ref:`TYAddData` adds data to a y/t dataset (1D dataset). .. function:: bool = TYAddData(hData, rvY) bool = TYAddData(hData, rvY, bExt) bool = TYAddData(hData, rvY, rsMissingValue) .. us.return **Return Value** *bool*. .. us.params **Parameters** .. uparam:: hData The handle of a dataset created with :ref:`TYCreate`. .. uparam:: rvY *rvY* is a vector with y coordinates. The vector must have at least one element. .. 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. .. uparam:: rsMissingValue *rvMissingValue* is a scalar value. The value specifies the missing value in *rvY*. All missing values in *rvY* will be ignored. Default value is 1e10. .. us.history **History** .. list-table:: :header-rows: 1 * - Version - Description * - 5.20.0 - New parameter *rsMissingValue*. * - 5.3.0 - ??? .. seealso:: :ref:`overview-xy-datasets`, :ref:`TYCreate`, :ref:`TYSetData`, :ref:`XYIsTYDataset`, :ref:`XYAddData` :sub:`id-1140306`