Hi,

Is there an easy way to change the label on a distance object to some
arbitrary string?

I would like a line connecting two atoms with an arbitrary label
at the midpoint between the two atoms.

for example:
#make atom pair selection
distance d, (id 3651, id 3691) # actual distance = 2.00

#replace "2.00" with "100%"  # or any other string
label d, "100%"



Thanks.

-- 
-----------------------
Regards
Richard Smith

Research Associate
Department of Zoology
Smith Research Group
University of Cambridge
Downing Street
Cambridge CB2 3EJ

Tel.: +44 (0)1223 330933


------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&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