DataObject.IncludeInPlots

Prototypes

void IncludeInPlots( <boolean bInclude> )

void IncludeInPlots( Matrix mObsNumbers <, boolean bInclude> )

Parameters

boolean bInclude
If bInclude is true, the specified observations are included in plots. If bInclude is false, the specified observations are excluded from plots. Calling this method without specifying the bInclude parameter is equivalent to calling it with bInclude equal to true.

Matrix mObsNumbers
A vector containing the observation numbers (1-based) of the observations to include/exclude. To specify all the observation numbers in the DataObject, use the predefined constant OBS_ALL.

Remarks

This method includes or excludes specific observations from plots. If you call this method without specifying the mObsNumbers parameter, it operates on the selected observations.

Example
mData = { 20 165,
          30 170, 
          40 175, 
          50 180, 
          60 170, 
          70 160 }; 
mVarNames = { "Age", "Weight" };
declare DataObject dobj;
dobj = DataObject.Create( "Sample Data", mVarNames, mData, false );
DataTable.Create( dobj ).ActivateWindow();
mObs = { 2 3 };
dobj.IncludeInPlots( mObs, false );
See Also

DataObject.IncludeInAnalysis