BoxPlot.SetMeanMarkerShape

Prototypes

void SetMeanMarkerShape( int nShape )

Parameters

int nShape
A predefined constant specifying the shape that represents the standard deviation of the data. The valid values are DIAMOND and ELLIPSE.

Remarks

This method sets the shape that represents the standard deviation of the data. The plot displays a line segment that indicates the mean value of the data and also shows the extent of one or two standard deviations from the mean.

Example
gender = { M  M  M  M  M  M  M  M  M  M  F  F  F  F  F  F  F  F  F  F };
height = { 58 59 60 52 54 56 59 64 57 58 63 62 59 61 59 58 54 58 53 56 };
declare DataObject dobj = DataObject.Create( "Student Height" );
dobj.AddVar( "Gender", "Gender", gender );
dobj.AddVar( "Height", "Height", height );
declare BoxPlot plot;
plot = BoxPlot.Create( dobj, "Gender", "Height" );
plot.SetMeanMarkerShape( DIAMOND );
plot.ShowMeanMarker();
See Also

SetMeanMarkerColor