IMSL C# Numerical Library

BoxPlot.SetLabels Method (String[], Int32)

Sets up an axis with labels.

public virtual void SetLabels(
   string[] labels,
   int type
);

Parameters

labels
A String[] containing the axis labels.
type
An int which specifies the "BoxPlotType" attribute value.

Remarks

This turns off the tick marks and sets the "BoxPlotType" attribute. It also turns off autoscaling for the axis and sets its "Window", "Number" and "Ticks" attributes as appropriate for a labeled Box plot.

The number of labels must equal the number of items.

Legal values for type are BOXPLOT_TYPE_VERTICAL or BOXPLOT_TYPE_HORIZONTAL. This determines the axis to be modified.

See Also

BoxPlot Class | Imsl.Chart2D Namespace | BoxPlot.SetLabels Overload List