Difference between revisions of "Hide"

From PyMOLWiki
Jump to navigation Jump to search
 
 
(18 intermediate revisions by 5 users not shown)
Line 1: Line 1:
===DESCRIPTION===
+
'''hide''' conceals atom and bond representations for a certain selection or other graphical objects like distances.
+
 
  "hide" turns of atom and bond representations.
+
<gallery>
+
Image:Show1.png|Some normal scene, notice the waters shown as spheres
  The available representations are:
+
Image:Show2.png|''hide spheres'' issues and the spheres are now hidden.
+
</gallery>
      lines    spheres   mesh     ribbon     cartoon
+
 
      sticks   dots     surface   labels
+
The available representations are:
      nonbonded nb_spheres
+
*lines
+
*spheres
 +
*mesh
 +
*ribbon
 +
*cartoon
 +
*sticks
 +
*dots
 +
*surface
 +
*labels
 +
*nonbonded
 +
*nb_spheres
 +
 
 
===USAGE===
 
===USAGE===
+
<source lang="python">
  hide reprentation [,object]
+
hide representation [,object]
  hide reprentation [,(selection)]
+
hide representation [,(selection)]
  hide (selection)
+
hide (selection)
+
</source>
 +
 
 
===PYMOL API===
 
===PYMOL API===
<source lang="python">
+
<source lang="python">
  cmd.hide( string representation="", string selection="")
+
cmd.hide( string representation="", string selection="")
</source>
+
</source>
  
 
===EXAMPLES===
 
===EXAMPLES===
+
<source lang="python">
  hide lines,all
+
# hides all lines
  hide ribbon
+
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.)
 +
</source>
 +
 
 
===SEE ALSO===
 
===SEE ALSO===
+
[[Show]], [[Enable]], [[Disable]], [[Suspend_updates]]
  [[Cmd show]], [[Cmd enable]], [[Cmd disable]]
 
  
[[Category:hide|hide]]
+
[[Category:Commands|Hide]]
 +
[[Category:View Module|Hide]]

Latest revision as of 17:11, 20 May 2014

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, Suspend_updates