Graph Control
- Updated2023-02-17
- 2 minute(s) read
Graph Control
Plot numeric, complex, X/Y, or point sample data contained in arrays and analog waveforms.

What Types of Data Can I Plot?
You can plot numeric, complex, or point sample data contained in arrays and analog waveforms. By default, the graph data type is an array of doubles. You can change the data type on the diagram.
The waveform data type carries the start time (t0), delta t (dt), and y-values (Y) of a waveform. When you wire waveform data to a graph, the graph automatically plots a waveform based on the start time, delta t, and y-values of the waveform.
For data contained in arrays, the graph displays a general-purpose Cartesian graph that plots any set of points, evenly sampled or not.
The following table describes how graphs plot different types of array data.
Data Type | Plot Behavior |
---|---|
1D array of numeric values |
The array is a single plot.
|
1D array of complex or cluster values |
The array is a single plot. The cluster must be a two-element cluster.
|
Cluster of two 1D arrays of numeric values |
The cluster is a single plot.
|
1D array of waveforms | Each waveform is a separate plot. |
2D array of numeric values | Each row of the array is a separate plot. |
2D array of complex or cluster values | Each row of the array is a separate plot. The cluster must be a two-element cluster.
|
1D array of clusters of 1D arrays | Each cluster of arrays is a separate plot. Arrays within a cluster must be the same size, but arrays in different clusters can be different sizes. |
Cluster of two numeric values and a 1D array | The cluster is a single plot.
|