Hi Gregory,

we are working on improved label placement right now. So far,
label_position is just an object-level and not an atom-level setting.
However, you can actually drag each label individually in edit mode.
This is independant of the label_position setting and cannot be done
with a script. Example:

PyMOL>frag ala
PyMOL>label all, name
PyMOL>edit_mode

Now hold down CTRL and move labels around with the left mouse button.

Cheers,
  Thomas

Gregory Ryslik wrote, On 08/12/13 04:14:
> Hi Everyone,
> 
> Apologies if this is well known but I can't seem to find it in the
> documentation.
> 
> I have a figure where I want to move one label up and to the right and
> another label down and to the left.
> 
> Ideally, I want to issue these two commands but have them apply to
> different labels:
> 
> 
> set label_position, (15,10,1)
> set label_position, (-15,-10,1)
> 
> Just in case you need them, here's my labeling commands now:
> 
> label c. A and n. CA and i. 52, "(%s, %s)" % (resn, resi)
> label c. A and n. CA and i. 144, "(%s, %s)" % (resn, resi)
> 
> Is there a way to do this?
> 
> Thanks!

-- 
Thomas Holder
PyMOL Developer
Schrödinger Contractor

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
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