This function get all the function plots on this layer.
int GetFunctionPlots( vector<string> & vsNames, vector<string> & vsBodies, vector<int> * pvnIndices = NULL )
Return the number of function plots on the layer.
EX1
//This function will romove all the function plots on this layer. void GetFunctinPlots_ex1() { GraphLayer gl = Project.ActiveLayer(); if ( gl ) { vector<string> vsNames; vector<string> vsBodies; vector<int> vnIndices; int nRet = gl.GetFunctionPlots(vsNames, vsBodies, &vnIndices); while ( nRet-- ) gl.RemovePlot(vnIndices[nRet]); return; } }
origin.h