Read-only
About Views

GetPlotTraceYData Method

Description

Gets the Y-axis data of a trace.

VB Syntax

pltsView.GetPlotTraceYData(plotIndex, traceIndex, ydata, yunit)

Variable

(Type) - Description

pltsView

(object) - A PLTSView object

plotIndex

(short) Index of the plot (zero based).

traceIndex

(short) Index of the trace (zero based).

ydata

(variant) Y-axis trace data.

yunit

(string) Unit of measure for the Y axis data.

Return Type

Variant

Default

None

Examples

Dim ydatobj As object = Nothing

Dim yunit As String = ""

pltsView.GetPlotTraceYData(1, 2, ydatobj, yunit)

See an example program.

C++ Syntax

HRESULT GetPlotTraceYData(SHORT plotIndex, SHORT traceIndex, VARIANT* ydata, BSTR* yunit);

Interface

IPLTSView