subgrid_rgb#

plot.subgrid_rgb(p0: float, p1: float, p2: float) int#

Specifies the RGB color value of the subgrid for the currently selected plot(s).

Args:
p0:

‘red_val’ red, green, blue color components, must be between 0.0 and 1.0

p1:

‘grn_val’ red, green, blue color components, must be between 0.0 and 1.0

p2:

‘blu_val’ red, green, blue color components, must be between 0.0 and 1.0

Examples:
ensight.plot.select_begin(1)
ensight.plot.subgrid_rgb(0,0,1)
Returns:

zero on success, non-zero on error