Model.xyplotcreate#

Model.xyplotcreate(plot, name)#

Creates an xy plot.

Parameters:
  • plot (hwString) – The name of the plot to be created.

  • name (hwString) – The name of the plot from which the new plot obtains its default values

Example#

Create a plot “newplot” which obtains its default values from “oldplot”#
import hm
import hm.entities as ent

model = hm.Model()

model.xyplotcreate(plot="newplot", name="oldplot")