pltICurve AddPoint
Adds a new XY data point to a curve.
Syntax
pltICurve_handle AddPoint x, y, sort_axis
Application
HyperWorks Tcl Query
Description
If the X and Y vector types are File or Math, the vector type is changed to Values.
Inputs
- x
- The X value of the new point.
- y
- The Y value of the new point.
- sort_axis
- Sorts by the x-axis ("x"), y-axis ("y") or none (blank, "").
Examples
hwi GetSessionHandle mySessionName
mySessionName GetProjectHandle myProjectName
myProjectName GetPageHandle myPageName [myProjectName GetActivePage]
myPageName GetWindowHandle myWindowName [myPageName GetActiveWindow]
myWindowName GetClientHandle myPlotName
myPlotName GetCurveHandle myCurveName 1
myCurveName AddPoint 0.001 500 1
Errors
Returns success or an error code.