3.5.8.25 Xof

Description

This function returns a dataset containing the X values of dataset vd.

Syntax

dataset xof(dataset vd)

Parameter

vd

a dataset, a range or Y column in Origin worksheet

Return

Returns a dataset containing the X values of dataset vd.

Examples

range ry = [Book1]Sheet1!col(B);
col(c)=xof(ry);
newbook;
col(A) = data(3,9);
col(B) = data(1,7);
dataset ds = xof(col(B));
ds[2] = ;
col(C) = ds;

See Also

Xindex, Xindex1, Xvalue