VMD-L Mailing List
From: Mustafa Tekpinar (tekpinar_at_buffalo.edu)
Date: Wed Jun 05 2019 - 10:55:24 CDT
- Next message: Abolfazl Musavi: "Re: how to draw boxes with semi-transparent sides"
- Previous message: sunyeping: "Problem with visualization of structure in amber coordinate format"
- Next in thread: Bassam Haddad: "Re: User-defined coloring"
- Reply: Bassam Haddad: "Re: User-defined coloring"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Hi,
I am using VMD for LINUXAMD64, version 1.9.3 and I am trying color a pdb
trajectory according to a user defined value.
I wrote the following script based on the previous suggestions.
#-------------------------------------------------------------------
mol new test.pdb waitfor all
set all [atomselect top all]
set n [molinfo top get numframes]
for { set i 0 } { $i < $n } { incr i } {
$all frame $i
$all set user $i
$all update
}
#-------------------------------------------------------------------
Unfortunately, the script doesn't work. I was just wondering if anybody can
suggest me something to check or try.
PS: I am aware that the script colors according to timestep and it is
already installed in VMD. However, my aim is to add some other data into
the user field later.
Thanks
-- Mustafa Tekpinar, PhD
- Next message: Abolfazl Musavi: "Re: how to draw boxes with semi-transparent sides"
- Previous message: sunyeping: "Problem with visualization of structure in amber coordinate format"
- Next in thread: Bassam Haddad: "Re: User-defined coloring"
- Reply: Bassam Haddad: "Re: User-defined coloring"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]