Difference between revisions of "Sticks"

From PyMOLWiki
Jump to navigation Jump to search
Line 8: Line 8:
 
To enable transparency for sticks, just do
 
To enable transparency for sticks, just do
 
  set stick_transparency, VALUE
 
  set stick_transparency, VALUE
where 0.0 <= '''VALUE''' <= 1.0
+
where  
 +
0.0<=VALUE<=1.0
 +
 
 
'''1.0''' is 100% transparent -- so invisible
 
'''1.0''' is 100% transparent -- so invisible
 +
 
'''0.0''' is 0% transparent -- so opaque
 
'''0.0''' is 0% transparent -- so opaque
 +
 +
Example
 +
set stick_transparency, 0.45
 +
  
 
[[Image:Sticks_ex.png|thumb|Example Sticks Representation]]
 
[[Image:Sticks_ex.png|thumb|Example Sticks Representation]]
  
 
[[Category:Representations|Sticks]]
 
[[Category:Representations|Sticks]]

Revision as of 22:54, 2 June 2005

A simple PyMol representation. Use

show sticks, SELECTION

where SELECTION is a valid selection or previously defined selection name.

Sticks Transparency

To enable transparency for sticks, just do

set stick_transparency, VALUE

where

0.0<=VALUE<=1.0

1.0 is 100% transparent -- so invisible

0.0 is 0% transparent -- so opaque

Example

set stick_transparency, 0.45


Example Sticks Representation