g_angle -ov angaver.xvg :: yields average angle g_angle -ov angdist.xvg :: yields angle distribution My Gromacs-3.3 command was: g_angle -ov x.xvg -type dihedral -f traj.xtc -s topol.tpr -n my.ndx Easily avoided, just posting a notice.