<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Hello,<br>I am trying to calculate the tilt angle of the principal axis of a nanotube inserted into a membrane using g_bundle. In the index file I have selected a group of atoms at the top and a group of atoms at the bottom of the nanotube, and I using the option -na 1 and -z to calculate the tilt respect to the z axis of the membrane.<br>I suppose that the results I have obtained in bun_tilt.xvg are the tilt angles respect to the average axis (along the simulation), is that right? Is there any way to calculate the tilt angle respect to a reference axis (for example, the axis formed by the 2 groups in the index file in the first structure, which is just perpendicular to the membrane?<br>Thanks a lot in advance for your help.<br>Best wishes,<br><br>Rebeca Garcia<br>Santiago de Compostela University<br>Spain<br>regafan@hotmail.com<br>                                               </body>
</html>