Regular API function

simDestroyGraphCurve / sim.destroyGraphCurve

Description Destroys a graph stream or curve. See also the other functions related to graphs.
C/C++
synopsis
int simDestroyGraphCurve(int graphHandle,int curveId)
C/C++
parameters
graphHandle: handle of the graph
curveId: the id of the stream or curve, -1 to remove all streams/curves
C/C++
return value
-1 if operation was not successful
Lua
synopsis
sim.destroyGraphCurve(int graphHandle,int curveId)
Lua
parameters
Similar to the C-function counterpart
Lua
return values
Python
synopsis
sim.destroyGraphCurve(int graphHandle,int curveId)