Many operations in Origin, like plotting and some analysis routines can run faster if a column is set to be evenly spaced. Set a column or all columns in worksheet to be evenly spaced so there is no to use X column
int SetEvenSampling( double x0, double xInc, Column & cc = NULL, LPCSTR lpcszXUnits = NULL, LPCSTR lpcszXLongName = NULL, BOOL bUndo = FALSE )
0 for success
if cc is not set, then all cols in wks is set to same.
If cc is not set and wks has ANY X col, returns -1
if cc is set and it has X to the left, returns -2
//Set even sampling in the active worksheet.
Worksheet wks = Project.ActiveLayer();
if( wks )
foreach(Column cc in wks.Columns)
int nRet = wks.SetEvenSampling(10, 1, cc);