PlotScatterSeries.AddPoints(Array, Array) 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.

Click here to see the documentation for this object in millisecond timing precision mode.

 

Method Signature

PlotScatterSeries.AddPoints(

Array xPoints,


Array yPoints)

 

 

Arguments

xPoints


Description:

An array of X values to add to the series.

Required Size:

At least 1

 

 

yPoints


Description:

An array of Y values to add to the series.

Required Size:

At least 1

 

 

 

Return Value

Type:

number

 

 

Returns the index of the last added point.

 

Syntax

myVariable1 = myPlotScatterSeries1.AddPoints(myArray1, myArray2);

 

 

See also

PlotScatterSeries Object

PlotScatterSeries.AddPoints

Plot Series Guide