ansys.mapdl.core.Mapdl.rgb#

Mapdl.rgb(kywrd='', pred='', pgrn='', pblu='', n1='', n2='', ninc='', ncntr='', **kwargs)#

Specifies the RGB color values for indices and contours.

Mechanical APDL Command: /RGB

Parameters:
kywrdstr

Determines how RGB modifications will be applied.

  • INDEX - Specifies that subsequent color values apply to Mechanical APDL color indices (0-15).

  • CNTR - Specifies that subsequent color values apply to contours (1-128). Applies to C-option devices only (i.e. X11C or Win32C).

predstr

Intensity of the color red, expressed as a percentage.

pgrnstr

Intensity of the color green, expressed as a percentage.

pblustr

Intensity of the color blue, expressed as a percentage.

n1str

First index (0-15), or contour (1-128) to which the designated RGB values apply.

n2str

Final index (0-15), or contour (1-128) to which the designated RGB values apply.

nincstr

The step increment between the values N1 and N2 determining which contours or indices will be controlled by the specified RGB values.

ncntrstr

The new maximum number of contours (1-128).

Notes

Issuing the cmap command (with no filename) will restore the default color settings.