[Chimera-users] Moving atom labels

Greg Couch gregc at cgl.ucsf.edu
Wed Aug 19 13:53:22 PDT 2009


On Fri, 7 Aug 2009, Greg Couch wrote:

> On Thu, 6 Aug 2009, Michael Day wrote:
>
>> How does one change the position of atom labels? For small coordination
>> complexes the default atom labels land on the atom and it would be nice to
>> move them as a whole or individually so they are alongside the atom ball or
>> anisotropic ellipsoid.
>>
>> Cheers,
>> Mike
>
> In the next daily build, we will have interactive label moving, where you
> can pick a label and drag it around, and if you hold down the shift key,
> it will move in Z.  It will default to the Control-button-3 mouse mode,
> but can be reassigned using the mouse mode preferences.  You will also be
> able to change the label offsets using the command line, the "labeloffset
> x y z atom-spec" and "rlabeloffset x y z atom-spec" commands to set the
> offsets and "~labeloffset" and "~rlabeloffset" to reset them to the
> default behavior of adjusting the offset with the representation.
>
> For users with existing saved preferences, you might need to turn label
> dragging on by resetting the mouse mode preferences or by explicitly
> assigning it to Control-button-3.  There's no icon for it yet in the mouse
> modes interface, but it will be the rightmost column for now.
>
> Since the label moving code is new, please send me feedback about how well
> it works for you.
>
> 	- Greg

In the next daily build, the labeloffset and rlabeloffset commands have 
been replaced with an offset argument to the label and rlabel commands:

 	'label' ['offset' ('default' | x,y,z)] atom-spec

and likewise for rlabel.  [] designates optional.  (|) designates choices. 
'' designates literal text.  x,y,z is three numbers separated by commas 
and no embedded spaces.  The default offset resets to the default 
behavior, like ~labeloffset before.

 	- Greg



More information about the Chimera-users mailing list