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

Namespace: Imsl.Chart2D
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.0.0

Syntax

C#
public ErrorBar(
	AxisXY axis,
	double[] x,
	double[] y,
	double[] low,
	double[] high
)
Visual Basic (Declaration)
Public Sub New ( _
	axis As AxisXY, _
	x As Double(), _
	y As Double(), _
	low As Double(), _
	high As Double() _
)
Visual C++
public:
ErrorBar(
	AxisXY^ axis, 
	array<double>^ x, 
	array<double>^ y, 
	array<double>^ low, 
	array<double>^ high
)

Parameters

axis
Type: Imsl.Chart2D..::.AxisXY
An Axis containing the parent of this node.
x
Type: array< System..::.Double >[]()[]
A double[] which contains the x-coordinates of the points at which the error bars will be centered.
y
Type: array< System..::.Double >[]()[]
A double[] which contains the y-coordinates of the points at which the error bars will be centered.
low
Type: array< System..::.Double >[]()[]
A double[] which contains the values which define the minimum extent of the error bars.
high
Type: array< System..::.Double >[]()[]
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