Make Molecular Labels Helpful, Not Cluttered

A molecular view can contain the right structure and still be hard to read. The problem often appears when names, measurements, and annotations overlap—or when labels that were useful up close become a wall of text after zooming out. Labels work best when they guide attention without competing with the structure. In SAMSON, you can manage that by choosing what to label, controlling when labels appear, and arranging them for the view you need.

Example of labels in a molecular view

Start with the question your view should answer

Before adding labels, decide what a viewer needs to notice. Are you identifying a few residues, naming a selected group, or displaying a measurement? That decision helps determine which nodes to label and how many labels are useful. A label can represent a node’s name, describe a group of nodes, or show a measurement, so labels can serve different purposes in the same document.

For a selected group, the context toolbar offers two useful choices. Add label creates one label for the group directly selected. Add label to… lets you choose node types and include descendants—for example, labeling residues within the current selection. This distinction matters: labeling a group and labeling every component of that group can produce very different amounts of text.

If you are adding labels directly in the Viewport, activate the Label editor first. The active selection filter determines what kind of node receives a label. A filter set to Atoms and bonds targets atoms or bonds; a filter set to Residues targets residues. Check the filter before labeling, especially when the result is not the level of detail you intended.

Adding labels in the Viewport

Let zoom level help manage density

Labels do not all need to remain visible at every scale. In SAMSON, visibility changes progressively as you zoom: labels for smaller nodes, such as atoms, start to disappear as you zoom out, while labels for larger nodes, such as molecules, start to appear. This can make it easier to move between a detailed inspection and a broader structural view without treating every label as equally important.

If a particular label appears too early, too late, or at an inconvenient scale, select it and adjust its maximum and minimum display radii in the Inspector. These settings control when it is visible. Think of them as a way to match a label to the viewing scale where it is most useful—not just as a way to hide unwanted text.

Label visibility changing as the Viewport zooms

Make important labels easy to distinguish

When a label needs more emphasis, you can change its font or color. Preferences > Rendering > Labels sets the font for labels that do not have a font specified directly. For a specific label or group, select the label or labels and use Choose font… in the Inspector. You can also reset a label’s font to the preference by double-clicking Font in the Inspector.

Color can be set from the label’s context toolbar, the Visualization color controls, or the Inspector. A restrained approach is often clearest: use color to distinguish meaningful categories or draw attention to a specific annotation, rather than giving every label a different color. If you want to return to the default, use Reset color or clear the text color in the Inspector. Label transparency is also adjustable in the Inspector.

Move labels only when placement gets in the way

New labels are placed at the geometric center of their nodes and lie in the Viewport plane. If a label obscures a feature, select it and change its viewport offset in the Inspector, or move it with a Move editor. To manipulate labels in the Viewport, set the selection filter to Labels first. Afterward, remember to switch the filter back if you plan to select other node types. Only visible labels can be selected in the Viewport.

A simple finishing pass can help: check the view at the zoom level where it will be used, confirm labels are attached to the intended node level, adjust display radii for labels that clutter other scales, and move only those that obscure important details. If you save the document in SAMSON’s .sam or .samx format, its labels are saved with it.

For the full labeling guide, see SAMSON documentation: Labeling.

Note: SAMSON and all SAMSON Extensions are free for non-commercial use. Get SAMSON.

Comments are closed.