From: Thomas H. <tho...@sc...> - 2013-08-12 09:37:33
|
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 |