PlotXY Method

Measurement Studio User Interface

PlotXY Method

Syntax

CWGraph.PlotXY xyData [, bPlotPerRow = True]

Purpose

Plots a 2D array of data. The first row is X values, and subsequent rows are Y values for each plot.

Remarks

The PlotXY method uses plots from the CWGraph.Plots collection that are marked as multiplots. If there are not enough plots available, it uses temporary multiplots.

Parameters

xyData As Variant

The data to plot.

bPlotPerRow As Variant

[Optional] If True, the first row in the data array contains the X data and subsequent rows contain plots of Y data. If False, the first column in the data array contains the X data and subsequent columns contain plots of Y data.

This parameter has a default value of True.

See Also

CWPlot.PlotXY