Model.xyplottwocurvemath#

Model.xyplottwocurvemath(function, outputcurve, xbased)#

Performs a math function on two curves.

Parameters:
  • function (int) – The function to be performed (1-6).

  • outputcurve (hwString) – The name of the output curve.

  • xbased (int) –

    0 - If the function should operate on the y coordinate.

    1 - If the function should operate on the x coordinate.

Example#

Perfome a math function on y - coordinate#
import hm
import hm.entities as ent

model = hm.Model()

model.xyplottwocurvemath(function=1, outputcurve="curve2", xbased=0)