VMD-L Mailing List
From: Paweł Kędzierski (pawel.kedzierski_at_pwr.wroc.pl)
Date: Fri May 17 2013 - 04:17:59 CDT
- Next message: Denis Davydov: "please remove me from the list"
- Previous message: John Stone: "Re: building VMD with opnempi support"
- Next in thread: Axel Kohlmeyer: "Re: Formatting labels in script"
- Reply: Axel Kohlmeyer: "Re: Formatting labels in script"
- Maybe reply: Jim Parker: "Re: Formatting labels in script"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Dear VMD users,
It is possible to format atom labels using VMD GUI (Graphics->Labels,
tab Properties), but I can't find in the user guide such functionality
for the Tcl label command.
I want to automate relatively simple tasks like labeling every atom with
its index:
set all [atomselect $molid "all"]
foreach atom [$all list] {
label add Atoms $molid/$atom
}
$all delete
Can I set the label format to e.g "%i" in Tcl code or via GUI only?
Thanks,
Pawel
- Next message: Denis Davydov: "please remove me from the list"
- Previous message: John Stone: "Re: building VMD with opnempi support"
- Next in thread: Axel Kohlmeyer: "Re: Formatting labels in script"
- Reply: Axel Kohlmeyer: "Re: Formatting labels in script"
- Maybe reply: Jim Parker: "Re: Formatting labels in script"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]