<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://sagacioushours.org.uk/wiki/index.php?action=history&amp;feed=atom&amp;title=Mod%3AHunt_Research_Group%2Fplot_potenital_energy_surface</id>
	<title>Mod:Hunt Research Group/plot potenital energy surface - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://sagacioushours.org.uk/wiki/index.php?action=history&amp;feed=atom&amp;title=Mod%3AHunt_Research_Group%2Fplot_potenital_energy_surface"/>
	<link rel="alternate" type="text/html" href="https://sagacioushours.org.uk/wiki/index.php?title=Mod:Hunt_Research_Group/plot_potenital_energy_surface&amp;action=history"/>
	<updated>2026-05-25T18:38:01Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.2</generator>
	<entry>
		<id>https://sagacioushours.org.uk/wiki/index.php?title=Mod:Hunt_Research_Group/plot_potenital_energy_surface&amp;diff=24956&amp;oldid=prev</id>
		<title>Laura at 02:52, 15 August 2025</title>
		<link rel="alternate" type="text/html" href="https://sagacioushours.org.uk/wiki/index.php?title=Mod:Hunt_Research_Group/plot_potenital_energy_surface&amp;diff=24956&amp;oldid=prev"/>
		<updated>2025-08-15T02:52:10Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;https://sagacioushours.org.uk/wiki/index.php?title=Mod:Hunt_Research_Group/plot_potenital_energy_surface&amp;amp;diff=24956&amp;amp;oldid=24901&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Laura</name></author>
		
	</entry>
	<entry>
		<id>https://sagacioushours.org.uk/wiki/index.php?title=Mod:Hunt_Research_Group/plot_potenital_energy_surface&amp;diff=24901&amp;oldid=prev</id>
		<title>Laura at 22:14, 22 July 2025</title>
		<link rel="alternate" type="text/html" href="https://sagacioushours.org.uk/wiki/index.php?title=Mod:Hunt_Research_Group/plot_potenital_energy_surface&amp;diff=24901&amp;oldid=prev"/>
		<updated>2025-07-22T22:14:13Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 22:14, 22 July 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[File:emim_PES_ethyl_rot.png|600px|thumb|right|Example PES produced using plot_PES.py]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=Extracting Scan Data From GaussView=&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=Extracting Scan Data From GaussView=&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l13&quot; &gt;Line 13:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 15:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Copy the below code into a script called &amp;quot;PES_custom.py&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Copy the below code into a script called &amp;quot;PES_custom.py&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;x_label = &amp;quot;Dihedral Angle&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;x_label = &amp;quot;Dihedral Angle &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;(degrees)&lt;/ins&gt;&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;plot_title = &amp;quot;Potenital Energy Scan over Rotation of Imidazolium Ethyl Group&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;plot_title = &amp;quot;Potenital Energy Scan over Rotation of Imidazolium Ethyl Group&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;plot_colour = &amp;quot;black&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;plot_colour = &amp;quot;black&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l90&quot; &gt;Line 90:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 92:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;ax.plot(sorted_PES_data[&amp;quot;Angle&amp;quot;], zeroed_energies_kj, c=pes.plot_colour, marker=&amp;quot;o&amp;quot;, linewidth=0.75)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;ax.plot(sorted_PES_data[&amp;quot;Angle&amp;quot;], zeroed_energies_kj, c=pes.plot_colour, marker=&amp;quot;o&amp;quot;, linewidth=0.75)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;ax.set_xlabel(pes.x_label)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;ax.set_xlabel(pes.x_label)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;ax.set_ylabel(&amp;quot;Energy (kJ/mol)&amp;quot;)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;ax.set_ylabel(&amp;quot;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Relative &lt;/ins&gt;Energy (kJ/mol)&amp;quot;)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;ax.set_title(pes.plot_title)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;ax.set_title(pes.plot_title)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Laura</name></author>
		
	</entry>
	<entry>
		<id>https://sagacioushours.org.uk/wiki/index.php?title=Mod:Hunt_Research_Group/plot_potenital_energy_surface&amp;diff=24887&amp;oldid=prev</id>
		<title>Laura: Created page for python script that plots potenital energy surfaces</title>
		<link rel="alternate" type="text/html" href="https://sagacioushours.org.uk/wiki/index.php?title=Mod:Hunt_Research_Group/plot_potenital_energy_surface&amp;diff=24887&amp;oldid=prev"/>
		<updated>2025-07-22T05:10:15Z</updated>

		<summary type="html">&lt;p&gt;Created page for python script that plots potenital energy surfaces&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
=Extracting Scan Data From GaussView=&lt;br /&gt;
Currently this script requires you first extract the data from your scans from GaussView. &lt;br /&gt;
For each calculation making up your overall scan:&lt;br /&gt;
* In GaussView open your .log file&lt;br /&gt;
* Go to Results then Scan to open the Gaussian formatted PES&lt;br /&gt;
* Right click on the plot and select Save Data...&lt;br /&gt;
* Save your data as a .txt file&lt;br /&gt;
&lt;br /&gt;
=Running plot_PES.py=&lt;br /&gt;
This script is broken into 2 files. The first is a customisation file that you can edit to change the title, x axis label, plot colour, and save location of the produced figure. You can find a list of colours and their names here: [https://matplotlib.org/stable/gallery/color/named_colors.html colours]&lt;br /&gt;
&lt;br /&gt;
* Copy the below code into a script called &amp;quot;PES_custom.py&amp;quot;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
x_label = &amp;quot;Dihedral Angle&amp;quot;&lt;br /&gt;
plot_title = &amp;quot;Potenital Energy Scan over Rotation of Imidazolium Ethyl Group&amp;quot;&lt;br /&gt;
plot_colour = &amp;quot;black&amp;quot;&lt;br /&gt;
centre_on_zero = True&lt;br /&gt;
save_fig = False&lt;br /&gt;
fig_filename = &amp;quot;test_save.png&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The second file is the main script you will call. This needs to be in the same place as the customisation file you just created.&lt;br /&gt;
&lt;br /&gt;
* Copy the below code into a script called &amp;quot;plot_PES.py&amp;quot;&lt;br /&gt;
* To execute type: python plot_PES.py scan_type input_filename_1 input_filename_2&lt;br /&gt;
* Depending on your customisation file, this will either display a figure with your PES plot or save the plot under the file name you gave in PES_custom.py&lt;br /&gt;
&lt;br /&gt;
IMPORTANT NOTES:&lt;br /&gt;
* Replace scan_type with the type of scan that you did (e.g bond_angle, bond_length, dihedral_angle)&lt;br /&gt;
* Your input files .txt files you saved from Gaussian&lt;br /&gt;
* You can list as many input files as you need, just please omit the file extensions&lt;br /&gt;
* You can choose whether or not to save your figure as a .png automatically by setting save_fig = True in PES_custom.py&lt;br /&gt;
* If you do not automatically save your figure, the script will only stop running when you close the figure&lt;br /&gt;
* Any issues flick me an email at laura.doyle@vuw.ac.nz :)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
import sys&lt;br /&gt;
import os&lt;br /&gt;
import matplotlib.pyplot as plt&lt;br /&gt;
import numpy as np&lt;br /&gt;
import pandas as pd&lt;br /&gt;
import PES_custom as pes&lt;br /&gt;
&lt;br /&gt;
dir = os.getcwd()&lt;br /&gt;
&lt;br /&gt;
supported_scans = ['bond_length', 'bond_angle', 'dihedral_angle']&lt;br /&gt;
&lt;br /&gt;
if len(sys.argv) &amp;lt; 3:&lt;br /&gt;
    print(&amp;quot;To run the script please type: python PES_plotter.py scan_type input_file_name_1 input_file_name_2&amp;quot;, &lt;br /&gt;
         &amp;quot; \( and so on for as many .txt files as you have)&amp;quot;)&lt;br /&gt;
    sys.exit()&lt;br /&gt;
    &lt;br /&gt;
else:&lt;br /&gt;
    if str(sys.argv[1]) not in supported_scans:&lt;br /&gt;
        print(&amp;quot;WARNING: This scan type may not be supported, please double check results.&amp;quot;,&lt;br /&gt;
              &amp;quot; Supported scan types are:&amp;quot;, *supported_scans, sep=&amp;quot;\n&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
    data_files = []&lt;br /&gt;
    for i in range(len(sys.argv)-2):&lt;br /&gt;
        data_files.append(str(sys.argv[i+2])+'.txt')&lt;br /&gt;
    &lt;br /&gt;
scan_type = sys.argv[1] &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
def center_angles(angle):&lt;br /&gt;
    # Adjust scan angles to be between -180 and 180 degrees&lt;br /&gt;
    centered = ((angle + 180) % 360) - 180&lt;br /&gt;
    return centered&lt;br /&gt;
&lt;br /&gt;
# Grab the data from the scan data files and combine into a single dataframe&lt;br /&gt;
PES_data = pd.DataFrame()&lt;br /&gt;
for data_file in data_files:&lt;br /&gt;
    df = pd.read_csv(data_file,sep='\s+',skiprows=4,names=[&amp;quot;Angle&amp;quot;, &amp;quot;Energy&amp;quot;])&lt;br /&gt;
    PES_data = pd.concat([PES_data, df], ignore_index=True)&lt;br /&gt;
    &lt;br /&gt;
# If True, adjusts the scan angles to be centered about 0    &lt;br /&gt;
if pes.centre_on_zero and &amp;quot;angle&amp;quot; in scan_type: PES_data[&amp;quot;Angle&amp;quot;] = PES_data[&amp;quot;Angle&amp;quot;].apply(center_angles)&lt;br /&gt;
&lt;br /&gt;
# Sorts the data by scanning variable&lt;br /&gt;
sorted_PES_data = PES_data.sort_values(by=&amp;quot;Angle&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
# Converts Energy from a.u. to kJ/mol and zeroes the energy to the minimum&lt;br /&gt;
energies_kj = sorted_PES_data[&amp;quot;Energy&amp;quot;] * 2625&lt;br /&gt;
zeroed_energies_kj = energies_kj - np.min(energies_kj)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# Plots the potential energy surface&lt;br /&gt;
ax = plt.axes()    &lt;br /&gt;
ax.plot(sorted_PES_data[&amp;quot;Angle&amp;quot;], zeroed_energies_kj, c=pes.plot_colour, marker=&amp;quot;o&amp;quot;, linewidth=0.75)&lt;br /&gt;
ax.set_xlabel(pes.x_label)&lt;br /&gt;
ax.set_ylabel(&amp;quot;Energy (kJ/mol)&amp;quot;)&lt;br /&gt;
ax.set_title(pes.plot_title)&lt;br /&gt;
&lt;br /&gt;
if pes.save_fig:&lt;br /&gt;
    plt.savefig(pes.fig_filename)&lt;br /&gt;
else: plt.show()&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
sys.exit()&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Laura</name></author>
		
	</entry>
</feed>