Hi Thomas,

Cool, I did something like that, copied the selection "%obj and index 1"
then labeled it. So I got an independent label.

Multi-line labels was somewhat hackish:

cmd.label(
    label_obj_name,
    '"' + "\\n".join([
        f'ID {i}',
        f'Class {ensemble.klass}',
        f'S {ensemble.strength}',
    ]) + '"'
)


I give up of volumes right now because I didn't figured out how to align
them. The behaviour I wanted was achieved with an "pseudo" atom.

Cheers,

Em qui, 15 de ago de 2019 às 05:49, Thomas Holder <
thomas.hol...@schrodinger.com> escreveu:

> Hi Pedro,
>
> it's only possible to label atoms. If you need an independent label,
> create a pseudo atom:
>
> pseudoatom label="Hello World"
>
> You can move the atom (or the label) in 3-Button Editing mouse mode while
> holding CTRL and dragging with the left mouse button.
>
> Cheers,
>   Thomas
>
> > On Aug 12, 2019, at 7:01 PM, Pedro Lacerda <pslace...@gmail.com> wrote:
> >
> > And how to place a single arbitrary label on the object or segment?
> >
> > Em seg, 12 de ago de 2019 às 13:55, Pedro Lacerda <pslace...@gmail.com>
> escreveu:
> > Hi PyMOL list,
> >
> > Is possible toshow  a label independent of the associated object be
> enabled?
> >
> > Or is possible to label a volume or map?
> > --
> > Pedro Sousa Lacerda
> >
> > Laboratório de Bioinformática e Modelagem Molecular
> > Faculdade de Farmácia / UFBA
> >
> > @pslacerda
> > +55 71 9 9981-1856
> >
> >
> > --
> > Pedro Sousa Lacerda
> >
> > Laboratório de Bioinformática e Modelagem Molecular
> > Faculdade de Farmácia / UFBA
> >
> > @pslacerda
> > +55 71 9 9981-1856
> > _______________________________________________
> > 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
>
> --
> Thomas Holder
> PyMOL Principal Developer
> Schrödinger, Inc.
>
>

-- 
Pedro Sousa Lacerda


*Laboratório de Bioinformática e Modelagem Molecular*
*Faculdade de Farmácia / UFBA*

*@pslacerda*

*+55 71 9 9981-1856*
_______________________________________________
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