Jump to content

Color: Difference between revisions

From PyMOL Wiki
No edit summary
Gregori (talk | contribs)
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 13: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*)