This is a read-only mirror of pymolwiki.org

Hide

From PyMOL Wiki
Revision as of 08:31, 7 October 2013 by Hongbo zhu (talk | contribs) (add one example of hiding hydrogen atoms and waters)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

hide conceals atom and bond representations for a certain selection or other graphical objects like distances.

The available representations are:

  • lines
  • spheres
  • mesh
  • ribbon
  • cartoon
  • sticks
  • dots
  • surface
  • labels
  • nonbonded
  • nb_spheres

USAGE

hide representation [,object]
hide representation [,(selection)]
hide (selection)

PYMOL API

cmd.hide( string representation="", string selection="")

EXAMPLES

# hides all lines
hide lines,all

# hides all ribbons
hide ribbon

# hides all distances
hide dashes

# hides sticks in protA and all residues that aren't in the range of 40-65
hide sticks, protA and not i. 40-65

# hide hydrogen atoms
hide (hydro)  # or hide (h.)

SEE ALSO

Show, Enable, Disable