Fix minor issues in gmx traj -av -af
authorMark Abraham <mark.j.abraham@gmail.com>
Tue, 7 Mar 2017 12:16:19 +0000 (13:16 +0100)
committerMark Abraham <mark.j.abraham@gmail.com>
Tue, 7 Mar 2017 13:01:58 +0000 (14:01 +0100)
Made the description of the xvg y-axis more useful. Also works for
option -af.

Refs #2133

Change-Id: If3796ddbd9841fc442b765afab9ad249954f9316

src/gromacs/gmxana/gmx_traj.cpp

index 28dbbd9e7981024ec12b1dd5dcad3b56a0b8651c..e7025cdd2393e7aefb1063f1ef913228c6710313 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Copyright (c) 1991-2000, University of Groningen, The Netherlands.
  * Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2013,2014,2015,2016, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014,2015,2016,2017, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
@@ -461,7 +461,7 @@ static void write_pdb_bfac(const char *fname, const char *xname,
             svmul(scale, sum[index[i]], sum[index[i]]);
         }
 
-        fp = xvgropen(xname, title, "Atom", "", oenv);
+        fp = xvgropen(xname, title, "Atom", "Spatial component", oenv);
         for (i = 0; i < isize; i++)
         {
             fprintf(fp, "%-5d  %10.3f  %10.3f  %10.3f\n", 1+i,