IMSL C# Numerical Library

ErrorBar Constructor 

Creates a set of error bars centered at (x[k],y[k]) and with extents low[k],high[k].

public ErrorBar(
   AxisXY axis,
   double[] x,
   double[] y,
   double[] low,
   double[] high
);

Parameters

axis
An Axis containing the parent of this node.
x
A double[] which contains the x-coordinates of the points at which the error bars will be centered.
y
A double[] which contains the y-coordinates of the points at which the error bars will be centered.
low
A double[] which contains the values which define the minimum extent of the error bars.
high
A double[] which contains the values which define the maximum extent of the error bars.

Remarks

If DataType has the bit DATA_TYPE_ERROR_X set then this is a horizontal error bar. If the bit DATA_TYPE_ERROR_Y is set then this is a vertical error bar. If neither bit is set then no error bar is drawn.

A Data node with the same x and y values can be used to put markers at the center of each error bar.

Each of the array arguements have an associated attribute. That is, "X", "Y", "Low" and "High".

See Also

ErrorBar Class | Imsl.Chart2D Namespace