[gmx-users] using command g_traj to output the trajectory of an ion in the z direction

Justin A. Lemkul jalemkul at vt.edu
Thu May 5 13:34:38 CEST 2011



toby10222224 at sina.com wrote:
> Hi
> I am trying to use g_traj to output the trajectory of an ion in the z 
> direction. I used the following command:
> 
> g_traj_mpi -f cntsol2.trr -s cntsol2.tpr -n cntsol.ndx -z -ox K_nojump.xvg
> 
> For the option '-z', the manual describes it as 'Plot Z-component'. 
> However, I still got the trajectory of the ion in all three directions 
> with too much useless information.
> 
> Could anyone tell me how to merely output information in the z direction?
> 

You need to specify -nox -noy as well.  All these options default to "yes," so 
you have to turn them off yourself.

-Justin

> Thank you in advance!
> 

-- 
========================================

Justin A. Lemkul
Ph.D. Candidate
ICTAS Doctoral Scholar
MILES-IGERT Trainee
Department of Biochemistry
Virginia Tech
Blacksburg, VA
jalemkul[at]vt.edu | (540) 231-9080
http://www.bevanlab.biochem.vt.edu/Pages/Personal/justin

========================================



More information about the gromacs.org_gmx-users mailing list