VMD-L Mailing List
From: J. Rui Rodrigues (jrui_at_ci.uc.pt)
Date: Fri Jan 07 2005 - 10:49:57 CST
- Next message: pl: "atom index starting at 0"
- Previous message: Ricardo Czekster: "Help using trajectory ca-distance script"
- In reply to: Ricardo Czekster: "Help using trajectory ca-distance script"
- Next in thread: Bogdan Costescu: "Re: vmd not starting up on Fedora core 3 linux , nVidia quadro 980 XGL, nVidia 6629 driver"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Hi,
Try this
$selection frame $i
$selection update
$ca_distance $selection
Rui Rodrigues
Ricardo Czekster wrote:
> Hi,
>
> If someone could help me: I was trying to modify the ca-distance.tcl
> script to analyze a trajectory. This script plots a 2d graphic that
> contains the ca distance. Then I wrote a script to iterate through the
> trajectory frames, and calls ca-distance to plot. The problem was that
> it seems to lack a graphics update, because, for 81 frames, this script
> built 81 2d plots containing the same image. It should plot a different
> one for each frame.
>
> The script I wrote was:
>
> # make the list of coordinates
> set num_frames [molinfo [$selection molindex] get numframes]
> set coords {}
> for {set i 0} {$i < $num_frames} {incr i} {
> $selection frame $i
> ca_distance $selection
> }
>
>
> Ricardo Melo
>
>
- Next message: pl: "atom index starting at 0"
- Previous message: Ricardo Czekster: "Help using trajectory ca-distance script"
- In reply to: Ricardo Czekster: "Help using trajectory ca-distance script"
- Next in thread: Bogdan Costescu: "Re: vmd not starting up on Fedora core 3 linux , nVidia quadro 980 XGL, nVidia 6629 driver"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]