Difference between revisions of "Surface color"

From PyMOLWiki
Jump to: navigation, search
(Example)
 
(2 intermediate revisions by one other user not shown)
Line 12: Line 12:
 
<source lang="python">
 
<source lang="python">
 
# color the surface
 
# color the surface
set surface_color, (selection), (color)
+
set surface_color, (color), (selection)
 
</source>
 
</source>
  
= Example =
+
= Examples =
 
<source lang="python">
 
<source lang="python">
 
# color the surface white
 
# color the surface white
set surface_color, *, white
+
set surface_color, white, *
 +
 
 +
# return surface coloring to the default scheme
 +
set surface_color, default, *
 
</source>
 
</source>
  

Latest revision as of 08:31, 9 July 2017

Overview

surface_color controls the color of surfaces as drawn in PyMOL.

Syntax

# color the surface
set surface_color, (color), (selection)

Examples

# color the surface white
set surface_color, white, *

# return surface coloring to the default scheme
set surface_color, default, *

See Also

Color, Color_Values