Copy curve's x value to vectorx and y value to vectory.
bool CopyData( vector & vx, vector & vy, vector & yWeight = NULL, vector & xWeight = NULL )
TRUE for success, otherwise FALSE.
EX1
void curvebase_CopyData_ex1() { //Assume active window is worksheet that contains two columns. Worksheet wks = Project.ActiveLayer(); if( wks ) { Curve crv(wks, 0, 1); vector vDataX, vDataY, vDataYErr; bool bOK = crv.CopyData(vDataX, vDataY); out_int("bOK = ", bOK); } }
DataRange::GetData, DataRange::GetNumData, DataRange::GetMaskedData, DataRange::GetMissingData
origin.h