TYSetMinAndDeltaΒΆ

TYSetMinAndDelta sets the minimum value x-min and the distance delta between 2 x-coordinates.

bool = TYSetMinAndDelta(hData, rvMinDelta)
bool = TYSetMinAndDelta(hData, rvMinDelta, bExt)

Return Value

If the function succeeds, the return value bool is TRUE (1); otherwise it is FALSE (0).

Parameters

hData

The handle of a dataset created with TYCreate.

rvMinDelta

rvMinDelta is a vector with 2 elements: rvMinDelta[1] is the minimum value xmin; rvMinDelta[2] is the distance delta between 2 x-coordinates. rvMinDelta[2] must be greater than 0.

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.

id-1441365