simSetGraphStreamTransformation

Applies a transformation to a graph stream

C++ synopsis

int simSetGraphStreamTransformation(int graphHandle, int streamId, int trType, double mult, double off, int movingAvgPeriod)

Arguments

  • graphHandle: handle of the graph
  • streamId: id of the stream
  • trType: stream transformation
  • mult: multiplication factor
  • off: an offset
  • movingAvgPeriod: moving average period. Set to 1 for no moving average

Return

  • -1 if operation was not successful


See also: