Dear Petro,

Text labels in PyMOL (http://pymolwiki.org/index.php/Label) are displayed per atom, so the usual way is to make a pseudoatom (http://pymolwiki.org/index.php/Pseudoatom) for each helix label you want to make.

Using selections this can be pretty straight forward.

Let's say you have your coloured helices as selections you could do something like:

zoom helix1
pseudoatom labelhelix1
label labelhelix1, "Helix 1"

The position of the label can be changes using the edit mode  (see e.g. http://pymolwiki.org/index.php/MovieSchool_3#Mouse_Modes)

Hope this helps

Best regards,
Folmer Fredslund


2011/10/30 Piter_ <x.piter@gmail.com>
Hi all.
I have a protein structure in cartoon representation. It has 5 helices
and iconnecting loops. I have colored 3 of the helices in to different
color. now i want to add text label to them. How can I do it?
Thanks.
Petro.

------------------------------------------------------------------------------
Get your Android app more play: Bring it to the BlackBerry PlayBook
in minutes. BlackBerry App World&#153; now supports Android&#153; Apps
for the BlackBerry&reg; PlayBook&#153;. Discover just how easy and simple
it is! http://p.sf.net/sfu/android-dev2dev
_______________________________________________
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