Sticks

From PyMOLWiki
Revision as of 08:56, 2 July 2009 by Inchoate (talk | contribs) (→‎Settings)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Overview

A simple PyMol representation where bonds are drawn as sticks. Use

# using the show command, for some SELECTION
show sticks, SELECTION

# using the as command
as sticks, SELECTION

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

Settings

Example Settings

Color Sticks

Use set_bond to set stick-bond settings, like color:

set_bond 1foo and i. XYZ, color red

Sticks Radius (Sticks Weight)

To change the radius for sticks, enter the following:

set stick_radius, VALUE

where

0.0<=VALUE<=1.0
  • 1.0 is 100% or full radius
  • 0.0 is 0% or invisible -- so use at least 0.1 or greater
  • The default value is: ~0.3

Sticks Transparency

To enable transparency for sticks, enter the following:

set stick_transparency, VALUE

where 0.0<=VALUE<=1.0

  • 1.0 is 100% transparent -- so invisible
  • 0.0 is 0% transparent -- so opaque
set stick_transparency, 0.45