Model.xyplotmodify#
- Model.xyplotmodify(plot_name, item_name, string, value, plot)#
Modifies an xy plot.
- Parameters:
plot_name (hwString) – The name of the plot to be modified.
item_name (hwString) – The name of the data item associated with the xy plot which should be modified.
string (hwString) – The string value of the data item.
value (double) – The value of the data item.
plot (int) – A logical which determines if the xy plot should be redrawn after modification.
Example#
Change the title name to “Plot1”#import hm import hm.entities as ent model = hm.Model() model.xyplotcurvemodify( plot_name="Plot1", item_name="title", string="myplot", value=0.0, plot=1 )