PlotY Method

Measurement Studio User Interface

PlotY Method

Syntax

CWPlot.PlotY yData [, xFirst = 0] [, xInc = 1]

Purpose

Plots a one-dimensional array of data.

Remarks

Use the Plot and Chart methods on a CWPlot object if you want to modify a single plot without affecting the other plots. Use the Plot and Chart methods on the CWGraph object if you want to modify all existing plots.

Parameters

yData As Variant

One-dimensional array of data to plot.

xFirst As Variant

[Optional] The X value for the first point in the plot.

This parameter has a default value of 0.

xInc As Variant

[Optional] The amount to increment X for each point.

This parameter has a default value of 1.

Example

'Plot the 1D array Voltages as plot 4
CWGraph1.Plots.Item(4).PlotY Voltages

See Also

CWGraph.PlotY