Model.descriptormove#

Model.descriptormove(xmin, ymin, xmax, ymax)#

Moves the plot descriptor.

Parameters:
  • xmin (double) – The x value of the upper left corner of the plot descriptor (0.0 - 1.0).

  • ymin (double) – The y value of the upper left corner of the plot descriptor (0.0 - 1.0).

  • xmax (double) – The x value of the lower right corner of the plot descriptor (0.0 - 1.0).

  • ymax (double) – The y value of the lower right corner of the plot descriptor (0.0 - 1.0).

Example#

Set the upper left corner of the discription mark at ( 0.1 , 0.9 ) and the lower right corner at ( 0.9 , 0.1 )#
import hm
import hm.entities as ent

model = hm.Model()

model.descriptormove(xmin=0.1, ymin=0.9, xmax=0.9, ymax=0.1)