sim.setGraphStreamTransformation

Applies a transformation to a graph stream

Synopsis

sim.setGraphStreamTransformation(int graphHandle, int streamId, int trType, float mult = 1.0, float off = 0.0, int movingAvgPeriod = 1) sim.setGraphStreamTransformation(int graphHandle, int streamId, int trType, float mult = 1.0, float off = 0.0, int movingAvgPeriod = 1)

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


See also: