BoxPlot.SetWhiskerLength

Prototypes

void SetWhiskerLength( double dLength )

Parameters

double dLength
A scale factor that controls the length of the whiskers. See Remarks.

Remarks

This method specifies the length of the whiskers in the plot. The length of the lower whisker is not more than dLength times the length of the second quartile. The length of the upper whisker is not more than dLength times the length of the third quartile. A whisker always ends at an observation.

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.SetWhiskerLength( 2.0 );