Model.xyplotcurvemodify#

Model.xyplotcurvemodify(curve_name, item_name, string, value, plot)#

Modifies a curve.

Parameters:
  • curve_name (hwString) – The name of the curve being modified.

  • item_name (hwString) – The name of the item of data being modified.

  • string (hwString) – The string value of the item.

  • value (double) – The value of the item.

  • plot (int) – A logical which determines if the current xy plot should be replotted when the change is made to the curve.

Example#

Change the title name to “Curve1”#
import hm
import hm.entities as ent

model = hm.Model()

model.xyplotcurvemodify(
    curve_name="mycurve", item_name="title", string="Curve1", value=0.0, plot=1
)