Default constructor which constructs an unattached GroupPlot.
Copy constructor which constructs a GroupPlot object from an existing GroupPlot.
GroupPlot( )
GroupPlot( const GroupPlot & gp )
void Ex1() { //assume the active graphlayer has at least two dataplots on it GraphLayer gl = Project.ActiveLayer(); GroupPlot gPlot; gPlot= gl.Groups(0); //get first groupplot object int nMiddle = (0 + gPlot.GetCount())/2; DataPlot dp = gPlot.GetDataPlot(nMiddle); //get the middle of all dataplots if ( dp ) { printf("The %dth DataPlot is %s", nMiddle, dp.GetDatasetName()); } return; }
origin.h