Show: Difference between revisions
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
==DESCRIPTION== | ==DESCRIPTION== | ||
'''Show''' displays atom and bond representations for certain selections. The '''Show''' command, is one of the most often used commands in PyMOL. For example, you can ''show'' certain atoms as ''[[Lines]]'' or ''[[Sticks]]'' or ''[[Cartoon]]s'' or any of the following representations: | '''Show''' displays atom and bond representations for certain selections. The '''Show''' command, is one of the most often used commands in PyMOL. For example, you can ''show'' certain atoms as ''[[Lines]]'' or ''[[Sticks]]'' or ''[[Cartoon]]s'' or any of the following representations: | ||
*[[lines]] | |||
*[[spheres]] | |||
*[[mesh]] | |||
*[[ribbon]] | |||
*[[cartoon]] | |||
*[[sticks]] | |||
*[[dots]] | |||
*[[surface]] | |||
*[[Label|label]] | |||
*[[extent]] | |||
*[[nonbonded]] | |||
*[[nb_spheres]] | |||
*[[slice]] | |||
*[[cell]] | |||
==USAGE== | ==USAGE== |
Revision as of 17:46, 6 July 2007
DESCRIPTION
Show displays atom and bond representations for certain selections. The Show command, is one of the most often used commands in PyMOL. For example, you can show certain atoms as Lines or Sticks or Cartoons or any of the following representations:
USAGE
show show reprentation [,object] show reprentation [,(selection)] show (selection)
PYMOL API
cmd.show( string representation="", string selection="" )
EXAMPLES
Example
# show the backbone using lines.
show lines,(name ca or name c or name n)
Example
# show the ribbon representation for all objects
show ribbon
Example
# show all hetero atoms as spheres
show spheres, het
NOTES
selection can be an object name.
show alone will turn on lines and nonbonded for all bonds.
show cell will show the triclinic unit cell, provided it's described in the PDB. For cell packing, you need a script. See The Script Library or Robert Campbell's Site
SEE ALSO
Hide, Enable, Disable, Lines, Cartoon, Spheres, Mesh, Ribbon, Sticks, Dots, Surface, Label, Extent, Slice, Cell, Select