Model.xyplotwindow#
- Model.xyplotwindow(plotname, xmin, xmax, ymin, ymax)#
Sets the minimum and maximum values for the plot window.
- Parameters:
plotname (hwString) – The name of the plot.
xmin (double) – The minimum value which the window should be set to along the x axis.
xmax (double) – The maximum value which the window should be set to along the x axis.
ymin (double) – The minimum value which the window should be set to along the y axis.
ymax (double) – The maximum value which the window should be set to along the y axis.
Example#
Set the xy plot ( “ Plot1 “ ) window span through the whole screen#import hm import hm.entities as ent model = hm.Model() model.xyplotwindow(plotname="Plot1", xmin=0.0, xmax=1.0, ymin=0.0, ymax=1.0)