<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'><div style="text-align: left;">Hi,<br><br>For many tools setting the environment variable<br>GMX_VIEW_XVG = xmgr<br></div>will work.<br><br>Berk<br><br><br><hr id="stopSpelling">&gt; Date: Mon, 22 Sep 2008 11:05:58 +0200<br>&gt; From: jhub@gwdg.de<br>&gt; To: vvchaban@gmail.com; gmx-users@gromacs.org<br>&gt; Subject: Re: [gmx-users] output format of gromacs utilities<br>&gt; CC: <br>&gt; <br>&gt; Vitaly Chaban wrote:<br>&gt; &gt; Hello,<br>&gt; &gt; <br>&gt; &gt; In gromacs analysis tools, is it possible to output multiple data<br>&gt; &gt; columns as several 'parallel' columns (not as pairs delimited by '&amp;')?<br>&gt; <br>&gt; I don't think so, but i once wrote a script that does the transformation<br>&gt; for you. Here it is.<br>&gt; <br>&gt; Best, Jochen<br>&gt; <br>&gt; <br>&gt; #!/bin/bash<br>&gt; <br>&gt; tmpdir=xxxxx.tmp<br>&gt; rm -fr $tmpdir<br>&gt; mkdir $tmpdir<br>&gt; <br>&gt; echo Removing comments...<br>&gt; egrep -v '^@|^#' $1 &gt; $tmpdir/xxx.tmp<br>&gt; <br>&gt; here=`pwd`<br>&gt; cd $tmpdir<br>&gt; echo "Splitting $1 at &amp;'s ..."<br>&gt; csplit -n 5 --silent xxx.tmp '/&amp;/' '{*}'<br>&gt; grep '[0-9]' xx00000 | awk '{print $1}' &gt; times.tmp<br>&gt; <br>&gt; rm -f yy*[0-9]<br>&gt; for i in xx[0-9][0-9][0-9][0-9][0-9]; do<br>&gt;     nr=$(echo $i|tr -cd [:digit:])<br>&gt;     if grep -q '[0-9]' $i; then<br>&gt;         echo writing yy$nr ...<br>&gt;         grep '[0-9]' $i | awk '{print $2}' &gt; yy$nr<br>&gt;     fi<br>&gt; done<br>&gt; <br>&gt; out=${1%%.xvg}.dat<br>&gt; paste -d ' ' times.tmp yy[0-9][0-9][0-9][0-9][0-9] &gt; $out<br>&gt; echo created ${1%%.xvg}.dat<br>&gt; <br>&gt; <br>&gt; &gt; <br>&gt; &gt; I experience difficulties to read such (xvg) format by sigmaplot.<br>&gt; &gt; <br>&gt; &gt; <br>&gt; <br>&gt; <br>&gt; -- <br>&gt; ************************************************<br>&gt; Dr. Jochen Hub<br>&gt; Max Planck Institute for Biophysical Chemistry<br>&gt; Computational biomolecular dynamics group<br>&gt; Am Fassberg 11<br>&gt; D-37077 Goettingen, Germany<br>&gt; Email: jhub[at]gwdg.de<br>&gt; Tel.: +49 (0)551 201-2312<br>&gt; ************************************************<br>&gt; _______________________________________________<br>&gt; gmx-users mailing list    gmx-users@gromacs.org<br>&gt; http://www.gromacs.org/mailman/listinfo/gmx-users<br>&gt; Please search the archive at http://www.gromacs.org/search before posting!<br>&gt; Please don't post (un)subscribe requests to the list. Use the <br>&gt; www interface or send it to gmx-users-request@gromacs.org.<br>&gt; Can't post? Read http://www.gromacs.org/mailing_lists/users.php<br><br /><hr />Express yourself instantly with MSN Messenger! <a href='http://clk.atdmt.com/AVE/go/onm00200471ave/direct/01/' target='_new'>MSN Messenger</a></body>
</html>