Difference between revisions of "Color"

From PyMOLWiki
Jump to: navigation, search
m (Changed the API definition)
Line 8: Line 8:
  
 
===PYMOL API===
 
===PYMOL API===
<source lang="python">cmd.color( string color, string color-name )</source>
+
<source lang="python">cmd.color( string color, string selection )</source>
  
 
===EXAMPLES===
 
===EXAMPLES===

Revision as of 08:10, 9 August 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 selection )

EXAMPLES

color yellow, (name C*)