This is a read-only mirror of pymolwiki.org
Difference between revisions of "Hide"
Jump to navigation
Jump to search
(→USAGE) |
|||
| (4 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
===DESCRIPTION=== | ===DESCRIPTION=== | ||
| − | + | '''hide''' conceals atom and bond representations for a certain selection. | |
| − | + | ||
The available representations are: | The available representations are: | ||
| − | + | *lines | |
| − | + | *spheres | |
| − | + | *mesh | |
| − | + | *ribbon | |
| + | *cartoon | ||
| + | *sticks | ||
| + | *dots | ||
| + | *surface | ||
| + | *labels | ||
| + | *nonbonded | ||
| + | *nb_spheres | ||
===USAGE=== | ===USAGE=== | ||
| − | hide | + | hide representation [,object] |
| − | hide | + | hide representation [,(selection)] |
hide (selection) | hide (selection) | ||
| Line 19: | Line 26: | ||
===EXAMPLES=== | ===EXAMPLES=== | ||
| − | + | <source lang="python"> | |
| − | + | # hides all lines | |
| + | hide lines,all | ||
| + | |||
| + | # hides all ribbons | ||
| + | hide ribbon | ||
| + | |||
| + | # hides sticks in protA and all residues that aren't in the range of 40-65 | ||
| + | hide sticks, protA and not i. 40-65 | ||
| + | </source> | ||
===SEE ALSO=== | ===SEE ALSO=== | ||
Revision as of 14:26, 24 May 2007
DESCRIPTION
hide conceals atom and bond representations for a certain selection.
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 sticks in protA and all residues that aren't in the range of 40-65
hide sticks, protA and not i. 40-65