PaintSurface - set coloring style of surfacesSYNOPSIS
PaintSurface ( one_color | atom | pot ) expr stringDESCRIPTION
Set the coloring style of all selected surfaces. With the value one_color, the surface will be drawn entirely in the color set with ColorPrim.
With the value atom, the color for each point is taken from the color of the closest selected atom. For this case, the second argument gives the maximum distance from the atom surface, the user will normally give the solvent radius used for calculating the surface for this argument.
With the value pot, the color is calculated from a potential field read with ReadPot. For this case, the third argument is a table that gives the mapping between potentials and colors. It consists of space separated tuples of the form:
v r g bwhere v is the potential and r, g, b give the color as RGB (red, green, blue) components. Colors are interpolated between the values in the table.
Values can only be read from a file with ReadPot, MOLMOL has currently no function for calculating them.
EXAMPLE
PaintSurface atom 1.4 '' PaintSurface pot 0.0 '0.0 0 0 1 4.0 1 0 0'SEE ALSO
AddSurface, SelectPrim, ReadPot, ColorPrim, ColorAtom
DATE
951212