Hi Jordan,

use the "first" operator:

PyMOL> label first foo, "foo"

or for the first CA atom in foo:

PyMOL> label first (foo and guide), "foo"

Cheers,
  Thomas

Jordan Willis wrote, On 05/21/13 11:07:
> Yes thank you!
> 
> I meant to post that as my solution considering it works pretty good.
> It preserves depth and position.
> 
> Jordan
> 
> On May 21, 2013, at 3:45 AM, Folmer Fredslund wrote:
> 
>> Hi Jordan,
>>
>> As a workaround you can label just the CA's (so this doesn't answer
>> your question exactly, but might be usefull):
>>
>> label foo and n. CA, "foo"
>>
>> Hope this helps,
>> Folmer
>>
>> 2013/5/21 Jordan Willis
>>
>>     Hello,
>>
>>     This should be straightforward,
>>
>>     Is it possible to label selections by their name?
>>
>>     If I have a selection named "foo" and I say label foo, "foo", it
>>     of course labels all the atoms. Is it possible to get one label
>>     for the entire selection without using pseudoatoms?
>>
>>     Jordan
-- 
Thomas Holder
PyMOL Developer
Schrödinger Contractor

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net

Reply via email to