Molecule Tutorials - Herong's Tutorial Examples - v1.21, by Dr. Herong Yang
"show surface" Presentation Command
This section provides a tutorial on how the 'show' command to turn on the 'surface' representation of the loaded molecule structure in PyMol.
The next representation style we want to try is called "surface".
PyMOL># open a log file to record commands PyMOL>log_open Representation-Show-Surface.pml PyMOL># delete all objects PyMOL>delete all PyMOL># reset viewing parameters to default values PyMOL>reset PyMOL># load my molecule from a file PyMOL>load Molecule-HY-001.sdf CmdLoad: loaded as "Molecule-HY-001". PyMOL># hide all representations PyMOL>hide all PyMOL># show "spheres" representation PyMOL>show surface PyMOL># move the camera backward to scale down the representation PyMOL>move z, -5 PyMOL># close the log file PyMOL>log_close PyMOL># re-run all commands in the log file PyMOL>@Representation-Show-Surface.pml
The picture below shows the "surface" representation of a molecule structure:
Table of Contents