
Friends, I would like to know how to use our own strings with 3D label. suppose if i give 'rlabel :3', residue 3 is labelled as LEU 3. But i want to pass a string that should replace LEU 3. Hope i am clear. I know 2D label can use a string but i wish to use string especially with 3D label. Thanks, Bala

Hi Bala, There's no specific command for it, but you can use the generic "setattr" command to do it. Say you want to label residue 3 in chain A with "my text": setattr r label "my text" :3.a --Eric Eric Pettersen UCSF Computer Graphics Lab http://www.cgl.ucsf.edu On Nov 17, 2009, at 5:09 AM, Bala subramanian wrote:
Friends,
I would like to know how to use our own strings with 3D label. suppose if i give 'rlabel :3', residue 3 is labelled as LEU 3. But i want to pass a string that should replace LEU 3. Hope i am clear. I know 2D label can use a string but i wish to use string especially with 3D label.

Or if you prefer the menu instead of a command, you can also do it with "Actions... Label... residue... custom..." -- just enter the desired text in the "Residue label" area to label all currently selected residues. Elaine On Nov 17, 2009, at 10:34 AM, Eric Pettersen wrote:
Hi Bala, There's no specific command for it, but you can use the generic "setattr" command to do it. Say you want to label residue 3 in chain A with "my text":
setattr r label "my text" :3.a
--Eric
Eric Pettersen UCSF Computer Graphics Lab http://www.cgl.ucsf.edu
On Nov 17, 2009, at 5:09 AM, Bala subramanian wrote:
Friends,
I would like to know how to use our own strings with 3D label. suppose if i give 'rlabel :3', residue 3 is labelled as LEU 3. But i want to pass a string that should replace LEU 3. Hope i am clear. I know 2D label can use a string but i wish to use string especially with 3D label.
_______________________________________________ Chimera-users mailing list Chimera-users@cgl.ucsf.edu http://www.cgl.ucsf.edu/mailman/listinfo/chimera-users
participants (3)
-
Bala subramanian
-
Elaine Meng
-
Eric Pettersen