3D Surface Plot Helper VI

Requires: Full Development System

Graphs data with a connecting surface. Multiple references to this VI generate multiple plots for the same graph.

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

Details  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 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.

Matrix

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.

3D Surface Plot Helper Details

When x matrix, y matrix, and z matrix are the same size, the Surface plot graphs values that correspond to each elements at the same location in all the matrices.

Example

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

 Open example  Find related examples