Hi Xavier,

* Xavier Deupi <xavier.de...@stanford.edu> [2005-04-20 10:49] wrote:
> 
> I'm a new user, so my question is *extremely* basic...
> 
> I want to display atom numbers as labels, but this property does not 
> appear in the list of properties that can be displayed using the command 
> 'label'.
> 
> How can I do it?

  label <selection>, ID

or if you want to shift the label away from the atom by one or two
spaces:

  label <selection>, "  %s" % ID

Similarly, if you want complicated labels, you can do:

  label <selection>, " %s:%s %s" % (resn,resi,name)

Cheers,
Rob
-- 
Robert L. Campbell, Ph.D.                         <r...@post.queensu.ca>
Senior Research Associate                            phone: 613-533-6821
Dept. of Biochemistry, Queen's University,             fax: 613-533-2497
Kingston, ON K7L 3N6  Canada       http://adelie.biochem.queensu.ca/~rlc
    PGP Fingerprint: 9B49 3D3F A489 05DC B35C  8E33 F238 A8F5 F635 C0E2

Reply via email to