3D Scatter Plot Helper VI

Requires: Full Development System

Graphs data to show trends in statistics and the relationship between two sets of data. Multiple references to this VI generate multiple plots for the same graph.

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

Example

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

Vector

3D Plot lvclass Array in is a reference to the class that stores the data of the 3D plot.
x vector is a 1D array that specifies the x-coordinates that graph the plot.
y vector is a 1D array that specifies the y-coordinates that graph the plot.
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 z-coordinates that graph the plot.
Plot ID specifies the index of the plot you want to graph. When you graph more than one plot, select the drop-down listbox under the color spectrum to the right of the graph to change the plot.
3D Plot lvclass Array out is the graph of the 3D plot.
error out contains error information. This output provides standard error out functionality.

Matrix

3D Plot lvclass Array in is a reference to the class that stores the data of the 3D plot.
x vector is a 1D array that specifies the x-coordinates that graph the plot.
y vector is a 1D array that specifies the y-coordinates that graph the plot.
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 z-coordinates that graph the plot. If you do not wire the other inputs, LabVIEW graphs the number of elements for the x-axis based on the number of rows in z matrix and the number of elements for the y-axis based on the number of columns in z matrix.
Plot ID specifies the index of the plot you want to graph. When you graph more than one plot, select the drop-down listbox under the color spectrum to the right of the graph to change the plot.
3D Plot lvclass Array out is the graph of the 3D plot.
error out contains error information. This output provides standard error out functionality.

Matrices

3D Plot lvclass Array in is a reference to the class that stores the data of the 3D plot.
x matrix is a 2D array that specifies the x-coordinates that graph the plot.
y matrix is a 2D array that specifies the y-coordinates that graph the plot.
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 z-coordinates that graph the plot. If you do not wire the other inputs, LabVIEW graphs the number of elements for the x-axis based on the number of rows in z matrix and the number of elements for the y-axis based on the number of columns in z matrix.
Plot ID specifies the index of the plot you want to graph. When you graph more than one plot, select the drop-down listbox under the color spectrum to the right of the graph to change the plot.
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 Scatter Graph VI in the labview\examples\Controls and Indicators\Graphs and Charts\Math Plots - 3D directory for an example of using the 3D Scatter Plot Helper VI.

 Open example  Find related examples