Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help
Special pages
SBGrid Resources
SBGrid Consortium
SBGrid Data Bank
Software Webinars
PyMOL Webinar
PyMOL Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Lines
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=Usage= <source lang="python"> # show everything as lines show lines # only show residues 50-80 as lines show lines, i.50-80 </source> ==Examples== ===Example: Displaying dashed lines between two atoms=== The following commands will create a dashed line between two atoms. <source lang="python"> # first, create two named selections select a, ///A/501/02 select b, ///B/229/N # calculate & show the distance from selection a to selection b. distance d, a, b # hide just the distance labels; the # dashed bars should still be shown hide labels, d </source> Technically, the object ''d'' is a labelled distance, only the label is hidden. When ray-tracing the image, the dashes come out a bit fat. You can slim them with <source lang="python"> set dash_gap, 0.5 set dash_radius, 0.1 </source> before the 'ray' command. [[Image:Lines_ex.png|thumb|Lines Representation Example]] ==See Also== Please read about other representations in the '''[[:Category:Representations|Representation Category]]'''. <br> [[Measure_Distance]] <br> [[Distance]] <br> [[Category:Representations|Lines]] [[Category:Commands|Lines]]
Summary:
Please note that all contributions to PyMOL Wiki are considered to be released under the GNU Free Documentation License 1.2 (see
PyMOL Wiki:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Lines
(section)
Add topic