diff --git a/plots/energyplot.png b/plots/energyplot.png new file mode 100644 index 0000000000000000000000000000000000000000..171f62d3ae96390be51b7059f5322dd6e7b6bd7f Binary files /dev/null and b/plots/energyplot.png differ diff --git a/plots/energyplot.py b/plots/energyplot.py new file mode 100644 index 0000000000000000000000000000000000000000..8bbfda38fe6705440cf908f3927b8090f03dc5d9 --- /dev/null +++ b/plots/energyplot.py @@ -0,0 +1,10 @@ +import numpy as np +import matplotlib.pyplot as plt + +data = np.loadtxt('../out/energy.dat') +steps = np.linspace(0, len(data), len(data)) + +plt.plot(steps, data) +plt.xlabel('Steps') +plt.ylabel('Energy') +plt.savefig('energyplot.png', dpi=300) \ No newline at end of file