Model.minmaxtitlesetcolor#

Model.minmaxtitlesetcolor(color, type, minmax)#

Sets the color of a minimum or maximum title.

Parameters:
  • color (int) – The color to which the title should be set.

  • type (int) –

    0 - Node title (contour plot)

    1 - Element title (assigned plot)

  • minmax (int) –

    0 - Minimum title

    1 - Maximum title

Example#

Set the color to blue in the node minimum title#
import hm
import hm.entities as ent

model = hm.Model()

model.minmaxtitlesetcolor(color=9, type=0, minmax=0)