label_rgb#
- contour.label_rgb(p0: float, p1: float, p2: float) int #
Set the color for contour labels.
- Args:
- p0:
‘red_val’ red, green, blue components of color (0 to 1.)
- p1:
‘grn_val’ red, green, blue components of color (0 to 1.)
- p2:
‘blu_val’ red, green, blue components of color (0 to 1.)
- Examples:
# # Modify an existing contour part to # have red labels # ensight.part.select_begin(3) ensight.part.modify_begin() ensight.contour.label_visible("ON") ensight.contour.label_rgb(1.,0.,0.) ensight.part.modify_end()
- Returns:
zero on success, non-zero on error