<![CDATA[Multiwfn forum / Plot electron density along a line with fixed atom positions]]> - //www.umsyar.com/wfnbbs/viewtopic.php?id=1720 Wed, 17 Sep 2025 18:10:21 +0000 FluxBB <![CDATA[Re: Plot electron density along a line with fixed atom positions]]> //www.umsyar.com/wfnbbs/viewtopic.php?pid=5288#p5288 Dear Tian,

Thank you for your reply. I should have chosen "Input coordinate of two points to define a line", or set the extension distance to 0 before using "Input index of two atoms to define a line". Thank you again for your help.

]]>
Wed, 17 Sep 2025 18:10:21 +0000 //www.umsyar.com/wfnbbs/viewtopic.php?pid=5288#p5288
<![CDATA[Re: Plot electron density along a line with fixed atom positions]]> //www.umsyar.com/wfnbbs/viewtopic.php?pid=5287#p5287 Hello,

If you choose two atomic nuclei to define the line to be plot in Multiwfn, then the value of X-axis will corresponds to the distance from starting point, which is irrelevant to Cartesian coordinate of the atoms.

]]>
Wed, 17 Sep 2025 10:26:56 +0000 //www.umsyar.com/wfnbbs/viewtopic.php?pid=5287#p5287
<![CDATA[Plot electron density along a line with fixed atom positions]]> //www.umsyar.com/wfnbbs/viewtopic.php?pid=5286#p5286 Dear Tian,

I am trying to plot the electron density of a water dimer along the O-O bond. The geometry of this is as follows in Q-Chem input format with unit in Angstrom:

$molecule
0 1
--
0 1
O      0.000000    0.000000    0.000000
H      0.480763   -0.756792   -0.334637
H      0.480763    0.756792   -0.334637
--
0 1
O      0.000000    0.000000    2.900000
H     -0.899690    0.000000    3.225430
H     -0.089397    0.000000    1.947180
$end

I was able to generate the line density along the O-O bond with Multiwfn, however, it seems like the molecule was shifted so the nuclei aren't in the initial position as input. I was able to confirm this conjecture by comparing the z coordinate and the X position in the curve graph in the saved line.txt file. Is there a way to fix the position of the molecule when generating the line density plot? Thank you in advance for your time!

line-density-in-O-O-bond.png

line-txt.png

]]>
Wed, 17 Sep 2025 04:30:31 +0000 //www.umsyar.com/wfnbbs/viewtopic.php?pid=5286#p5286