ChartXvsY Method

Measurement Studio User Interface

ChartXvsY Method

Syntax

CWGraph.ChartXvsY xData, yData [, bChartPerRow = True]

Purpose

Charts a one- or two-dimensional array of Y data against a one-dimensional array of X data. This method is similar to the PlotYvsX method, except that the previously plotted data is not deleted until the amount stored for each chart is greater than the CWGraph.ChartLength property specifies.

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

xData As Variant

The X data.

yData As Variant

The Y data.

bChartPerRow As Variant

[Optional] If True, each row of the yData array is equivalent to one plot. If False, each column of the yData array is equivalent to one plot.

This parameter has a default value of True.

See Also

PlotXvsY

ChartLength

CWPlot.ChartY

CWPlot.PlotY