3D Bar Plot Helper VI

Requires: Full Development System

Generates a plot of vertical bars.

Note  This VI appears on the block diagram when you add a Bar plot to the front panel. You can find the Bar plot on the 3D Graph palette.

Example

Use the pull-down menu to select an instance of this VI.

Matrix

y vector is a 1D array that specifies the y-coordinates of the bars you want to plot. If you wire y vector the length of y vector must equal the length of z matrix.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
z matrix is a 2D array that specifies the heights of the bars you graph. If you do not specify y vector the y-axis scale equals the size of (z matrix, 1).
3D Plot lvclass Array out is the graph of the 3D plot.
error out contains error information. This output provides standard error out functionality.

Vector

y vector is a 1D array that specifies the y-coordinates of the bars you want to plot. If you wire y vector, the length of y vector must equal the length of z vector.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
z vector is a 1D array that specifies the heights of the bars you want to plot. If you do not specify y vector the y-axis scale equals the length of z vector.
3D Plot lvclass Array out is the graph of the 3D plot.
error out contains error information. This output provides standard error out functionality.

Example

Refer to the 3D Bar Graph VI in the labview\examples\Controls and Indicators\Graphs and Charts\Math Plots - 3D directory for an example of using the 3D Bar Plot Helper VI.

 Open example  Find related examples