From: Ricardo Czekster (rmelo_at_inf.pucrs.br)
Date: Fri Jan 07 2005 - 11:30:47 CST

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