Next: colorinfo
Up: Tcl Text Commands
Previous: axes
Contents
Index
color
Change the color assigned to molecules, or edit the color scale. All
color values are in the range 0 ... 1. Please see the
section on coloring for a full description of the various options.
- category name color: Set the color of the object specified by category and name to color.
- category name: Get the color of the object specified by category and name.
- scale method < scale_name >: Set type of scale to use for coloring objects by values. They are:
- RGB - Red to green to blue.
- BGR - Blue to green to red.
- RWB - Red to white to blue.
- BWR - Blue to white to red.
- RWG - Red to white to green.
- GWR - Green to white to red.
- GWB - Green to white to blue.
- BWG - Blue to white to green.
- BlkW - Black to white.
- WBlk - White to black.
- scale midpoint x:
Set midpoint of color scale to x, in the range 0 ... 1.
- scale min x:
Set minimum of color scale to x, in the range 0 ... 1.
- scale max x:
Set maximum of color scale to x, in the range 0 ... 1.
- change rgb color:
Reset rgb of color to default value.
- change rgb color r g b:
Set the RGB of color to r g b.
- restype resname [ restype ]:
Set the residue type for resname to restype. If
the restype parameter is omitted, the current residue type
is returned.
- add item category name colorname:
Adds colors for the named color category, item name, using
the colorname color.
See the colorinfo command for additional ways to query VMD's color settings. See the graphics command for
how to change color of a user-defined graphics object.
Next: colorinfo
Up: Tcl Text Commands
Previous: axes
Contents
Index
vmd@ks.uiuc.edu