Plotting X, Y, and Z Data on a 3D Surface Graph

Complete the following steps to plot X, Y, and Z data on a 3D Surface Graph.

  1. Select a 3D surface graph on the Controls»Graph palette and place it on the front panel.
  2. On the block diagram, delete the 3D Surface VI. This leaves only the ActiveX container terminal for the 3D graph.
  3. Select an Invoke Node on the Functions»Application Control palette, place it on the block diagram, and wire it to the container.
  4. Right-click the Invoke Node and select Methods»Plot3DMesh from the shortcut menu. The Plot3DMesh method accepts variants for arrays of X, Y, and Z data and plots triangulated surfaces.

Complete the following steps if you only want to show individual points instead of surfaces.

  1. Right-click the graph on the front panel and select CWGraph3D»Properties from the shortcut menu.
  2. Click the Plots tab and change the plot style to Point.
  3. To avoid getting multiple colors for every point, select None from the Color Map Style pull-down menu. You might have to change the default point color and size on the Point tab for your data to be visible on the graph.