Chimera Commands Index

rlabel [ offset default | x,y,z ] atom-spec

~rlabel atom-spec

Rlabel displays labels for residues with any atom in atom-spec. ~Rlabel removes residue labels. The default label contents are residue name and specifier, but custom residue labels can be defined using labelopt or the custom residue labeling dialog. Label font, size, and whether to draw labels in front regardless of their Z-offsets (default true) can be set in the Labels preferences. The command label shows atom labels. See also: color, 2dlabels, the Actions menu

The offset keyword allows specifying an absolute offset or a return to the default behavior, which depends on the method of residue label positioning. The word default can be truncated. An absolute offset is specified by three comma-separated values x,y,z representing distances along the X-, Y-, and Z-axes in the laboratory coordinate system:

Negative distances can be used. Label offsets can also be adjusted with the mouse.

The method of residue label positioning can be set in the molecule model attributes panel or with the command setattr. Residue label position can be based on:

When ribbon is displayed instead of mainchain atoms, the mainchain atoms are considered displayed for the purposes of computing centroids.