Set Color: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
[[Set_Color]] defines a new color with color indices (0.0-1.0) | [[Set_Color]] defines a new color with color indices (0.0-1.0) | ||
Revision as of 13:48, 17 November 2009
Set_Color defines a new color with color indices (0.0-1.0)
USAGE
set_color name, [ red-float, green-float, blue-float ]
set_color name = [ red-float, green-float, blue-float ] #(DEPRECATED)
PYMOL API
cmd.set_color( string name, float-list rgb )
EXAMPLES
set_color red, [ 1.0, 0.0, 0.0 ]