Hi sunyeping,

Try this:

     set label_position, [0, 0, 5]

The 5 here moves the label 5 Å closer to the viewer along the viewport Z
axis.  See also: https://pymolwiki.org/index.php/Label_position

Hope that helps.

Cheers,
Jared

On Tue, Jan 18, 2022 at 5:15 AM sunyeping via PyMOL-users <
pymol-users@lists.sourceforge.net> wrote:

> Dear pymol users,
>
> I select a series of CA atoms in a structure in pymol and show them as
> sphere in pymol and want to label them. If using the label menu at the
> up-right conner of pymol, the labels shown overlaps with spheres and can
> not be seen. So I wish to show the labels at a bit distance from the
> seleccted atoms. Is there a method to do that? I will appreciate to any
> help!
>
> Best regards
>
> _______________________________________________
> PyMOL-users mailing list
> Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net
> Unsubscribe:
> https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe
_______________________________________________
PyMOL-users mailing list
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net
Unsubscribe: 
https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe

Reply via email to