[Chimera-users] Questions on moving lables automatically

Elaine Meng meng at cgl.ucsf.edu
Tue Oct 12 09:17:16 PDT 2021

Dear Qiancheng Xia,
The "label" command has an "offset" option that you can try using with zeroes or negative x,y,z values to make the labels closer to the atom centers.

labelopt info idatmType
label offset 0,0,0

Still it may not look as nice as you would like.  For labels that look nice in images and are positioned exactly how you want them we generally recommend "2D Labels" ... but I understand it can be tedious and error-prone to type in something like charge values for each label.

I hope this helps,
Elaine C. Meng, Ph.D.                       
UCSF Chimera(X) team
Department of Pharmaceutical Chemistry
University of California, San Francisco

> On Oct 12, 2021, at 12:18 AM, 夏前程 via Chimera-users <chimera-users at cgl.ucsf.edu> wrote:
> Hi,
> I've noticed that Chimera can help us to label a lot of things, including atomic partial charge, on chemical systems like a compound.
> Those atomic labels were set just a distance from atoms' positions. However, I want to set these labels exactly on those atoms.
> I've known that such operations can be realized through moving them with mouse manually and one by one. Thus, I'm wondering if there is an alternative approach in Chimera that can allow me to set those labels directly on their corresponding atoms automatically. I think this function should exist here. But I've searched for hours and find almost nothing related.
> With Regards,
> Qiancheng Xia

More information about the Chimera-users mailing list