XYGetNumberOfPointsΒΆ

XYGetNumberOfPoints returns the number of data points of a 2D dataset.

nPoints = XYGetNumberOfPoints(hData)
nPoints = XYGetNumberOfPoints(hData, bExt)

Return Value

nPoints is the number of data points. If bExt is 1 but the dataset contains no filtered data the return value is 0.

Parameters

hData

The handle of a dataset created with XYCreate or TYCreate.

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-662557