PlotXvsY Method

Measurement Studio User Interface

PlotXvsY Method

Syntax

CWGraph.PlotXvsY xData, yData [, bPlotPerRow = True]

Purpose

Plots a 1D or 2D array of Y data against a 1D array of X data. Each row of Y values generates one plot.

Remarks

The PlotXvsY method uses plots from the CWGraph.Plots collection that are marked as multiplots. If there are not enough plots available, it uses temporary multiplots. These plots and their settings are lost if a subsequent plot operation requires fewer plots.

Parameters

xData As Variant

The X data.

yData As Variant

The Y data.

bPlotPerRow 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

CWPlot.PlotXvsY