<div dir="ltr"><div>Thank you very much, Travis! <br></div><div><br></div><div>1. Here are the first few lines of a .cell file directly from CP2K (below). My cells are all cubic (90 degree angles, equal dimensions), so I can change these to three columns; e.g., Ax, By, Cz.<br></div><div><p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-family: Calibri, sans-serif; caret-color: rgb(0, 0, 0); font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -moz-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;"><font size="1"><span style="color: rgb(0, 0, 0);"><span style="background-color: rgb(255, 255, 255);"><span style="font-family: Courier;">Step  Time [fs]    Ax [Angstrom]    Ay [Angstrom]    Az [Angstrom]    Bx [Angstrom]    By [Angstrom]    Bz [Angstrom]    Cx [Angstrom]    Cy [Angstrom]    Cz [Angstrom]   Volume [Angstrom^3]</span></span></span></font></p><p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-family: Calibri, sans-serif; caret-color: rgb(0, 0, 0); font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -moz-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;"><font size="1"><span style="color: rgb(0, 0, 0);"><span style="background-color: rgb(255, 255, 255);"><span style="font-family: Courier;">    0    0.000    13.6105000000    0.0000000000    0.0000000000    0.0000000000    13.6105000000    0.0000000000    0.0000000000    0.0000000000    13.6105000000     2521.2867393576</span></span></span></font></p><p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-family: Calibri, sans-serif; caret-color: rgb(0, 0, 0); font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -moz-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;"><font size="1"><span style="color: rgb(0, 0, 0);"><span style="background-color: rgb(255, 255, 255);"><span style="font-family: Courier;">    1    0.500    13.6102685896    0.0000000000    0.0000000000    0.0000000000    13.6102685896    0.0000000000    0.0000000000    0.0000000000    13.6102685896     2521.1581382194</span></span></span></font></p><p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-family: Calibri, sans-serif; caret-color: rgb(0, 0, 0); font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -moz-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;"><font size="1"><span style="color: rgb(0, 0, 0);"><span style="background-color: rgb(255, 255, 255);"><span style="font-family: Courier;">    2    1.000    13.6101388560    0.0000000000    0.0000000000    0.0000000000    13.6101388560    0.0000000000    0.0000000000    0.0000000000    13.6101388560     2521.0860435793</span></span></span></font></p><p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-family: Calibri, sans-serif; caret-color: rgb(0, 0, 0); font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -moz-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;"><font size="1"><span style="color: rgb(0, 0, 0);"><span style="background-color: rgb(255, 255, 255);"><span style="font-family: Courier;">    3    1.500    13.6101072636    0.0000000000    0.0000000000    0.0000000000    13.6101072636    0.0000000000    0.0000000000    0.0000000000    13.6101072636     2521.0684874332</span></span></span></font></p></div><div><font size="1"><br></font></div><div>2. When you said that box size is only need to "unwrap everything correctly," does that mean that I could enter anything at the VMD GUI for the cell parameter and still get a correct RDF? <br></div><div><br></div><div>3. Thanks a lot for your code. So it reads my .xyz file, adds the data from my cell file, then gives me a file that I can read into VMD. Sorry for the newbie question, but how would I read it in? Thanks so much for taking the time for this.<br></div></div>