A 2D graph uses x and y data to plot points on the graph and connect the points, forming a two-dimensional surface view of the data. A 2D graph is a special type of XY graph.

With 2D graphs, you can visualize two-dimensional data on XY graphs because all 2D graphs are XY Graphs. Use the 2D graph properties to modify the way data appears in a 2D graph.

LabVIEW includes the following types of 2D graphs:

  • Compass Plot—Graphs vectors that emanate from the center of a compass graph.
  • Error Bar Plot—Graphs the error bar at each point above and below the line graph.
  • Feather Plot—Graphs vectors that emanate from equally spaced points along a horizontal axis.
  • XY Plot Matrix—Graphs rows and columns of scatter graphs.
  • In this document, 2D graph refers to these specialized two-dimensional graphs, rather than to the general two-dimensional visualizations in LabVIEW.

    When you add a 2D graph to the front panel, LabVIEW wires the graph on the block diagram to a helper VI. Each 2D graph has its own corresponding helper VI. The helper VI converts the input data types into the generic data type that the 2D graph accepts.

    Refer to labview\examples\Controls and Indicators\Graphs and Charts\Math Plots - 2D\Math Plots - 2D.lvproj for examples of plotting data on a 2D graph.