![]() |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
The LabelDis
command places a label halfway between selected pairs of atoms. If the characters 'DIS' appear in the format string, they will be replaced with the actual distance between the atoms. The format string may also contain these HTML-like tags:
<U> goes up, <D> down, <G> switches to Greek and
<L> back to Latin letters. The bound flag
allows to label only distances between bound atoms, i.e. bond lengths.
The label is always linked to the first atom in the distance pair. Deleting this atom will therefore delete the label as a side-effect.
Example 1:LabelDis O Res Gly 20,OE1 Res Glu 23,Distance is DIS,Red Print the red text "Distance is 9.8" halfway between the two specified atoms in
1crn. Example 2:LabelDis 1,CA,DIS,Height=0.5 Show the distances between atom 1 and all CA atoms. Example 3:LabelDis Obj 1,Obj 1,Height=0.2,bound=Yes Label all bond lengths in object 1. Example macro:# EXAMPLE LabelDis Clear LoadPDB 1crn Style Stick LabelDis 1,CA,Format=DIS,Height=1,Color=Green ShowArrow AtAtom,1,AtAtom,CA,Radius=0.1,Color=Yellow PosObj 1crn,Z=20
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||