3.5.1.4.2 FindMasks

Description

Returns a dataset that contains the indexes of the masked data points.

Syntax

dataset FindMasks(dataset vd)

Parameter

vd

a vector, can be a dataset or column in Origin worksheet

Return

Returns a dataset that contains the indexes of the masked data points in vd.

Example

newbook; 
Col(a)=normal(30);
worksheet -s 1 5 1 10;  // set range to rows 5 - 10 in col(1)
mark -w1; 
mark -sw col(a);
Col(b)=findmasks(Col(a));