Model.minmaxtitlemove#

Model.minmaxtitlemove(xmin, ymin, xmax, ymax, type, minmax)#

Moves a minimum or maximum title.

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

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

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

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

  • type (int) –

    0 - Node title (contour plot)

    1 - Element title (assigned plot)

  • minmax (int) –

    0 - Minimum title

    1 - Maximum title

Example#

Move the minimum node title at given positions for its upper left and lower right corner#
import hm
import hm.entities as ent

model = hm.Model()

model.minmaxtitlemove(xmin=0.1, ymin=0.5, xmax=0.8, ymax=0.9, type=0, minmax=0)