Difference between revisions of "Color"

From PyMOLWiki
Jump to: navigation, search
 
Line 1: Line 1:
 +
===DESCRIPTION===
 +
  "color" changes the color of an object or an atom selection.
 +
 +
===USAGE===
 +
color color-name
 +
color color-name, object-name
 +
color color-name, (selection)
 +
 +
===PYMOL API===
 +
<source lang="python">cmd.color( string color, string color-name )</source>
 +
 +
===EXAMPLES===
 +
<source lang="python">color yellow, (name C*)</source>
 +
 
[[Category:Objects_and_Selections]]
 
[[Category:Objects_and_Selections]]
 +
[[Category:Commands]]

Revision as of 11:36, 6 May 2005

DESCRIPTION

  "color" changes the color of an object or an atom selection.

USAGE

color color-name
color color-name, object-name
color color-name, (selection)

PYMOL API

cmd.color( string color, string color-name )

EXAMPLES

color yellow, (name C*)