"curveRemoveData"

Deletes curve data.

Synopsis

setValue(string shape, "curveRemoveData", string Name, time t);

shape.curveRemoveData(string Name, time t);

Parameters

Parameter Description
shape Name of the object
Name Name of curve
t Point in time up to which the related curve values are deleted.

Description

Deletes the data for the indicated curve up to time "t".

Example

The following example deletes the data for "curve1" up to 22.9.1999, 12:00 p.m.

main()
{
  shape tr=getShape("trend1");
  time t;
  ...
  t=makeTime(1999, 9, 22, 12, 00);
  tr.curveRemoveData("curve1", t);
  ...
}

Assignment

Trend