XYSetDataTypeΒΆ

XYSetDataType sets the data type for 1D and 2D datasets saved in the UniPlot document (.ipw).

bool = XYSetDataType(hData, nDataType)

Return Value

bool is TRUE (1), if the function was successful and otherwise FALSE (0).

Parameters

hData

The handle of a dataset created with XYCreate or TYCreate.

nDataType

nDataType is one of the following values:

Value

Description

DATATYPE_FLOAT64 (10)

64-Bit floating-point number.

DATATYPE_FLOAT32 (9)

32-Bit floating-point number.

Comment

If the dataset already contains data the data type will be saved and applied when new data is set with XYSetData.

History

Version

Description

5.30.5

New

id-725717