File: main/doc/color.txt
Last modified: 24-aug-95
> COLOR [SELECT ... END] RESIDUE int1 int2 SEGMENT int1 int2 COLOR int ANALYSES AVERAGE RMS MINIMUM MAXIMUM COLOR int1 int2 int3 RANGE AUTOMATIC CURRENT DEFINE real real DEFAULT ATOMS int1 INITIAL EXIT
The (SET) COLOR commands define color attribute of each individual SELECTED atom. By default all atoms are selected. The colors can be checked at the display by using IMAGE SET commands or with SHOW COLOR SELECT ... END.
... RESIDUE int1 int2
The RESIDUE specifier colors a selection so that each next RESIDUE has the color value for int2 higher than the previous one. Atoms of the first RESIDUE obtain color int1. Similar rule is applied for the SEGMENT colors.
... SEGMENT int1 int2
The SEGMENT specifier colors a selection so that each next SEGMENT has the color value for int2 higher than the previous one. Atoms of the first SEGMENT obtain color int1. Similar rule is applied for the RESIDUE colors.
... COLOR int1
Sets a single COLOR to the whole atom SELCTION.
Makes atoms invisible (negative color value).
... AVERAGE COLOR int1 int2 int3 RMS MINIMUM MAXIMUM RANGE AUTOMATIC CURRENT DEFINE real real
Set colors acording to the analyses aray data. The procedure first finds minimum and maximum value of an ANALYSES array (AVERAGE, RMS, MINIMUM, MAXIMUM) and spans the vaules between the int1 and int2 COLORS. The int3 number is the COLOR step, so that only each int3 color number is taken. The COLOR command has an analogue in FORTRAN "do" loop sentence, which means that you can also inverse the coloring (128 64 -4).
RANGE Interval) of values spanned over the minimal and maximal color can be found by the program (AUTOMATIC), remain from a previous run (CURRENT) or DEFINED explicitly by a user.
... ATOMS int1 int2
Defines a new color for the atom number int1.
... DEFAULT
Set the DEFAULT set color values to the selected atoms. (See also COLOR ATOMS.)
EXIT returns command input back to the MAIN> interpreter.