Model.xyplotcreatecomplex#

Model.xyplotcreatecomplex(plot, name, mode)#

Creates an extended or dual plot that contains two sub-plots.

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.

  • mode (int) – Mode to select if will be an extended or dual plot.

Example#

Create a complex plot#
import hm
import hm.entities as ent

model = hm.Model()

model.xyplotcreatecomplex(
    plot="myplot", name="", mode=1
)