Model.xyplotsetcurves#

Model.xyplotsetcurves(plotname, collection)#

Sets the curve pointers on a plot.

Parameters:
  • plotname (hwString) – The name of the plot on which curve pointers are set.

  • collection (Collection) – The collection containing the curve entities to be drawn on the plot.

Example#

Set all curves to the plot with plotname="myplot"#
import hm
import hm.entities as ent

model = hm.Model()

model.xyplotsetcurves(plotname="myplot", collection=hm.Collection(model, ent.Curve))