BoxPlot.SetMeanMarkerColor

Prototypes

void SetMeanMarkerColor( int nColor )

void SetMeanMarkerColor( int nRed, int nGreen, int nBlue )

Parameters

int nColor
A predefined constant specifying the desired color. The valid values are BLACK, BLUE, BROWN, CHARCOAL, CREAM, CYAN, GOLD, GRAY, GREY, GREEN, LILAC, LIME, MAGENTA, MAROON, OLIVE, ORANGE, PINK, PURPLE, RED, ROSE, SALMON, STEEL, TAN, VIOLET, WHITE, and YELLOW.

int nRed, nGreen, nBlue
An RGB specification of the desired color. Each parameter must be an integer in the range [0, 255]. Examples: the triplet (0, 0, 0) represents black; the triplet (255, 255, 255) represents white.

Remarks

This method sets the color of the 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.

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.SetMeanMarkerColor( BLUE );
plot.ShowMeanMarker();
See Also

SetMeanMarkerShape