VMD-L Mailing List
From: Stojanoski, Vlatko (stojanos_at_bcm.edu)
Date: Tue Aug 18 2015 - 15:21:10 CDT
Thank you Brian! It worked and is very straight forward. I also found some useful examples in the VMD tutorial. Thanks again!
All the best,
From: owner-vmd-l_at_ks.uiuc.edu <owner-vmd-l_at_ks.uiuc.edu> on behalf of Bennion, Brian <bennion1_at_llnl.gov>
Sent: Tuesday, August 18, 2015 2:24 PM
Subject: vmd-l: RE: Plot of distance between two atoms vs frame number
You can do this visually quite easily.
Find the two atoms of interest.
Select the number "2" and then click on each atom. A distance for that frame will appear on the graphics window with a line between the two atoms.
Next. Click on Graphics then click on labels and then click on Bonds in the pull down menu on the left top of the window. Select the "Bond" and then click Graph.
The resulting plot can be saved in several different file formats.
You can just change the atom selections and weighting arguments in the distance.tcl script you are using.
From: owner-vmd-l_at_ks.uiuc.edu [mailto:owner-vmd-l_at_ks.uiuc.edu] On Behalf Of Stojanoski, Vlatko
Sent: Tuesday, August 18, 2015 10:36 AM
Subject: vmd-l: Plot of distance between two atoms vs frame number
Dear VMD users,
I'm new to VMD and my data analysis skills are limited. I'm trying to plot a distance between two atoms ( C-alpha of one residue and side chain of another) vs frame number (all frames) from a simple solvated structure simulated in NAMD. I have uploaded the .dcd in VMD and used a script that I found (distance.tcl). However, this script measures the distance between the two residue's center of the mass and not the distance between the two atoms. Any help will be greatly appreciate it. Thank you beforehand.
All the best,