11.07.2015 Views

VMD User's Guide

VMD User's Guide

VMD User's Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

– 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: Setrgbofcolor to rgb.• restype resname [ restype ]: Set the residue type for resname to restype. If the restypeparameter 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 graphics § 8.3.9 command for how to change color of a user-defined graphics object.8.3.5 colorinfo(Tcl) This command provides access to the color definitions. For information on the color propertiessee the chapter on Coloring [§5.2].• colorinfo categories: returns a list of available categories• colorinfo category category: returns a list of names for the given category• colorinfo num: returns the number of base solid colors (17)• colorinfo max: returns the total number of colors available (1041)• colorinfo colors: returns a list of the named solid colors• colorinfo [ index | rgb ] : returns the index or rgb of the given nameor color id.• colorinfo scale < method | methods | midpoint | min | max >: returns the informationabout the color scalesExamples:# find out what color corresponds to which id:set i 0foreach color [colorinfo colors] {puts "$i $color"incr i}95

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!