ILNumerics Ultimate VS

BarPlotExUpdate Method (InArrayDouble, InArrayDouble, InArrayDouble)

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Method updates key values of each bar in bar plot.

[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<double> Z,
	InArray<double> X = null,
	InArray<double> Y = null
)

Parameters

Z
Type: ILNumericsInArrayDouble
Positions data for the grid points, matrix of size [m x n]
X (Optional)
Type: ILNumericsInArrayDouble
X range: a matrix of size Z.S or a vector of length Z.S[1]
Y (Optional)
Type: ILNumericsInArrayDouble
Y range: a matrix of size Z.S or a vector of length Z.S[0]
Exceptions

ExceptionCondition
ArgumentExceptionIf Z is null.
Remarks

[ILNumerics Drawing2 Toolbox]

Examples

Example creates and updates BarPlotEx object

 private void ilPanel1_Load(object sender, EventArgs e) {

    // setup the plot cube ... 
    ilPanel1.Scene.Add(new PlotCube(twoDMode: false) 
    {
         // draw bar plot, 3D detached
         new BarPlotEx(Z:SpecialData.sincf(20, 20, 1.5f), colormap: Colormaps.Jet);         
    });

    // init any dataset as matrix
    Array<float> PointsNew = counter<float>(0, 0.1, 5, 6, 1);
    ilPanel1.Scene.First<BarPlotEx>().Update(ZXYPositions: PointsNew);

}
See Also

Reference