![]() Figure 1 |
Controls>>Graph
Indicators palette include the waveform
graph and XY graph. The waveform
graph plots only single-valued functions, as in
XY graphs
display any set of points, evenly sampled or not.
XY and waveform graphs
automatically adapt to multiple plots.
waveform graph accepts a single array of
values and interprets the data as points on the graph and
increments the Waveform Graph VI in the
NI Example Finder for examples of the data types
that single-plot waveform graphs accept.
waveform graph accepts a 2D array of
values, where each row of the array is a single plot. The
graph interprets the data as points on the graph and
increments the Transpose Array from the
shortcut menu to handle each column of the array as a plot.
Refer to the (Y) Multi Plot 1 graph in the
Waveform Graph VI in the NI Example
Finder for an example of a graph that accepts this data
type.
waveform graph also accepts a cluster
of an (Xo, dX, Y) Multi Plot 3
graph in the Waveform Graph VI in the
NI Example Finder for an example of a graph that
accepts this data type.
waveform graph accepts a cluster of
an initial Bundle function to bundle the arrays into
clusters, and you use the Build Array function to
build the resulting clusters into an array. You also can use
the Build Cluster Array, which creates arrays of
clusters that contain inputs you specify. Refer to the
(Xo, dX, Y) Multi Plot 2 graph in the
Waveform Graph VI in the NI Example
Finder for an example of a graph that accepts this data
type.
single-plot XY graph accepts a cluster that
contains an XY
graph also accepts an array of points, where a point is
a cluster that contains an XY Graph VI in the NI Example
Finder for an example of single-plot XY
graph data types.
XY graph accepts an array of plots,
where a plot is a cluster that contains an x array and a y
array. The multiplot XY graph also accepts an
array of clusters of plots, where a plot is an array of
points. A point is a cluster that contains an x value and a y
value. Refer to the XY Graph VI in the NI
Example Finder for an example of multiplot XY
graph data types.
Comments, questions, feedback, criticisms?
"A full introductory course on programming with LabVIEW."