HyperMath

AddPoint

AddPoint

Previous topic Next topic No expanding text in this topic  

AddPoint

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

Add points to an existing curve.

Syntax

AddPoint(PlotID, CurveID, X, Y)

Arguments

Name

Description

 

PlotID

An existing plot handle that the new data is added to.

 

CurveID

An existing curve handle that the new data is added to.

 

X

A vector of the data to associate with the horizontal axis of the added points.

 

Y

A vector of the data to associate with the vertical axis of the added points.

Example

Syntax

 

PlotLine([0,2],[3,5])

PlotLine([0,2],[4,7])

PlotLine([0,2],[3,7], 'new')

AddPoint(1,1,2.2,5.2)

AddPoint(1,2,2.2,5.2)

AddPoint(2,1,2.2,5.2)

r=PlotLine([0,2],[3,5])

PlotLine([0,2],[4,7])

s=PlotLine([0,2],[3,5])

AddPoint(r,1,2.2,5.2)

AddPoint(r,2,2.2,5.2)

AddPoint(s,1,2.2,5.2)

See Also:

PlotLine