Hi Neena -

There is also a `label_offset` setting, which can be given an x,y,z vector
in viewport coordinates. So if you want all labels to be in the foreground
compared to their respective atom(s), you might set it via:

set label_offset, [0,0,5]

I believe this can also be done in an object-specific fashion, so you could
also do:

set label_offset, [0,0,5], myobject

Hope that helps.

Cheers,
Jared


On Sat, Jan 30, 2021 at 2:52 AM Neena Susan Eappen <neenasusan...@gmail.com>
wrote:

> Hi Ali,
>
> Thank you for the brief and thorough explanation! All those commands gave
> exactly what I was looking for!
>
> Many thanks,
> Neena
>
> On Fri, 29 Jan 2021 at 18:36, Ali Saad Kusay <akus8...@uni.sydney.edu.au>
> wrote:
>
>> Hi Neena,
>>
>> A simple way to label in PyMOL is to simply select the atom you want and
>> enter the following command:
>> label sele, "what you want to label"
>>
>> I.e. for the N:
>> label sele, "N"
>>
>> PyMOL can render the special ⨁ you are using, through unicode:
>> label sele, '\u2A01'
>> Visit the wiki for more info:
>> https://pymolwiki.org/index.php/Label_font_id
>>
>> The labels may be small, to change size,
>> set label_size, 30
>> Change the 30 to what size you need
>>
>> Finally, the labels will likely be off in position, the easiest way to
>> change position is by using the editing mode:
>> This helpful video shows this around 3:30 (
>> https://www.youtube.com/watch?v=yBFzJ3ql4qU&ab_channel=MolecularMemory)
>>
>> Cheers,
>>
>> Ali
>>
>> Ali Kusay | BPharm (Hons) | PhD Candidate & Pharmacist
>> Supervised by A/Prof Thomas Balle
>> The University of Sydney School of Pharmacy | Faculty of Medicine and
>> Health
>> 424, Brain and Mind Centre | The University of Sydney | NSW 2050
>>
>>
>>
>>
>>
>>
>>
>>
>> _______________________________________________
> 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