Xvalue

Contents

Description

This function returns the corresponding X value for dataset vd at row number n. vd does not need to contain any values, but it must associate with some X column, otherwise the function returns row number.

Syntax

double xvalue(int n, dataset vd)

Parameter

n

row number

vd

a vector, can be a dataset or column in Origin worksheet. It must associate with some X column, otherwise the function returns row number.

Return

Returns the corresponding X value for dataset vd at row number n.

Examples

ix=xvalue(12,Book1_B);

See Also

LabTalk:Xof (function), LabTalk:Xindex (function), LabTalk:Xindex1 (function)