PlotScatterSeries.AddPoints(Variable, TimeSpan) Method

Top 

Description

Adds a point to the PlotScatterSeries.Data matrix. If the series has been attached to a PlotWindow, the point will be added to the plot. If the series has not been attached to a PlotWindow, the data will be stored in a buffer until it is attached. Note, points may not be immediately visible in a PlotWindow due to the default value for the PlotWindow.PointsToUpdate property being 25. If you want the PlotWindow to be updated each time a point is added, set the PlotWindow.PointsToUpdate property equal to 1.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

 

Method Signature

PlotScatterSeries.AddPoints(

Variable x,


TimeSpan y)

 

 

Arguments

x


Description:

The X-Component of the point to add to the series.

 

 

y


Description:

The Y-Component of the point to add to the series.

 

 

 

Return Value

Type:

number

 

 

Returns the index of the last added point.

 

Syntax

myVariable1 = myPlotScatterSeries1.AddPoints(myVariable2, myTimeSpan1);

 

 

See also

PlotScatterSeries Object

PlotScatterSeries.AddPoints

Plot Series Guide