TYSetDataΒΆ

TYSetData sets the coordinates of a y/t datasets (1D-dataset).

bool = TYSetData(hData)
bool = TYSetData(hData, rvY)
bool = TYSetData(hData, rvY, bExt)

Return Value

bool.

Parameters

hData

The handle of a dataset created with TYCreate.

rvY

rvY is a vector with y coordinates. Teh vector must have at least one element.

bExt

This parameter specifies if the function will access the original data or the filtered data.

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.

History

Version

Description

5.9.0

TYSetData(hData, 1e10, TRUE) removes the filtered data.

5.3.0

Invoked without the data parameter the function removes all data.

id-1481419