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:
- kywrd
str
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).
- pred
str
Intensity of the color red, expressed as a percentage.
- pgrn
str
Intensity of the color green, expressed as a percentage.
- pblu
str
Intensity of the color blue, expressed as a percentage.
- n1
str
First index (0-15), or contour (1-128) to which the designated RGB values apply.
- n2
str
Final index (0-15), or contour (1-128) to which the designated RGB values apply.
- ninc
str
The step increment between the values
N1
andN2
determining which contours or indices will be controlled by the specified RGB values.- ncntr
str
The new maximum number of contours (1-128).
- kywrd
Notes
Issuing the cmap command (with no filename) will restore the default color settings.