Lines

From PyMOLWiki
Revision as of 10:54, 6 May 2005 by Inchoate (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Displaying dashed lines between two atoms

The following commands will create a dashed line between two atoms.

select a, ///A/501/02
select b, ///B/229/N
distance d, a, b
hide labels, d

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

set dash_gap, 0.5
set dash_radius, 0.1

before the 'ray' command.

Lines Representation Example