BoxPlot.ShowMeanMarker

Prototypes

void ShowMeanMarker( <boolean bShow1StdDev> )

void ShowMeanMarker( boolean bShow1StdDev <, boolean bShow2StdDev> )

Parameters

boolean bShow1StdDev
If bShow1StdDev is true, a mean marker extending one standard deviation from the mean is displayed. If bShow1StdDev is false, the mean marker is hidden.

boolean bShow2StdDev
If bShow2StdDev is true, a mean marker extending two standard deviations from the mean is displayed. If bShow2StdDev is false, the mean marker is hidden.

Remarks

This method shows or hides mean markers. A mean marker indicates the mean value of the data and shows the extent of one or two standard deviations from the mean. Calling this method without a parameter is equivalent to calling it with bShow1StdDev equal to true and bShow2StdDev equal to false.

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.ShowMeanMarker( true, true );
See Also

SetMeanMarkerColor
SetMeanMarkerShape