ILNumerics - Technical Application Development
Assembly: ILNumerics.Toolboxes.Drawing2 (in ILNumerics.Toolboxes.Drawing2.dll) Version: 5.5.0.0 (5.5.7503.3146)
Call this method to update x and y coordinates of an arbitrary two dimensional curve, lower
and upper distance of error bar to vertex of curve
[ILNumerics Drawing2 Toolbox]
Namespace: ILNumerics.Drawing.Plotting
Assembly: ILNumerics.Toolboxes.Drawing2 (in ILNumerics.Toolboxes.Drawing2.dll) Version: 5.5.0.0 (5.5.7503.3146)
Syntax
public void Update( InArray<float> X = null, InArray<float> Y = null, InArray<float> L = null, InArray<float> T = null )
Parameters
- X (Optional)
- Type: ILNumericsInArraySingle
Row vector that contains x coordinates of an arbitrary two dimensional curve. - Y (Optional)
- Type: ILNumericsInArraySingle
Row vector that contains y coordinates of an arbitrary two dimensional curve. - L (Optional)
- Type: ILNumericsInArraySingle
Row vector that contains distance between bottom of error bar to vertex of curve. - T (Optional)
- Type: ILNumericsInArraySingle
Row vector that contains distance between top of error bar to vertex of curve.
Exceptions
Exception | Condition |
---|---|
ArgumentException | If input argument X is not a row vector. |
ArgumentException | If input argument Y is not a row vector. |
ArgumentException | If input argument L is not a row vector. |
ArgumentException | If input argument T is not a row vector. |
ArgumentException | If input arguments X, Y, L and T do not have matching dimensions. |
ArgumentException | If input argument L is negative. |
ArgumentException | If input argument T is negative. |
Remarks
[ILNumerics Drawing2 Toolbox]
Examples
Creating an ErrorBarPlot object
private void ilPanel1_Load(object sender, EventArgs e) { // Generate Data Array<float> XY = linspace<float>(0, 20, 15); XY[1,full] = tosingle(rand(1, 15) * 0.5f); Array<float> E = 2 + cos(XY[0,full]); // Create PlotCube object var myPlotCube = ilPanel1.Scene.Add(new PlotCube()); // Create ErrorBarPlot object var myErrorBarPlot = myPlotCube.Add(new ErrorBarPlot(XY, E, markerColor: Color.OrangeRed)); Array<float> L = linspace<float>(0, 2, 15); myErrorBarPlot.Update(L: L); }
See Also