Commit 6eb1e29d authored by Yan's avatar Yan
Browse files

Added X axis annotations

parent 7749b36f
...@@ -175,6 +175,7 @@ for n, i in enumerate(energs.keys()): ...@@ -175,6 +175,7 @@ for n, i in enumerate(energs.keys()):
yfit = boltzmann(xfit, *parameters[0]) yfit = boltzmann(xfit, *parameters[0])
plot = figure.add_subplot(grid[int(n/2), n % 2], plot = figure.add_subplot(grid[int(n/2), n % 2],
xlabel="$Activation\ energy\ (AE)$",
ylabel="$I_{frag}\ /\ \Sigma I$", ylabel="$I_{frag}\ /\ \Sigma I$",
xlim=(min(x), max(x)), ylim=(-0.1, 1.1)) xlim=(min(x), max(x)), ylim=(-0.1, 1.1))
plot.spines['top'].set_visible(False) plot.spines['top'].set_visible(False)
......
...@@ -112,6 +112,7 @@ rsqrd = get_r_sqrd(boltzmann, x, y, parameters[0]) ...@@ -112,6 +112,7 @@ rsqrd = get_r_sqrd(boltzmann, x, y, parameters[0])
xfit = np.linspace(x[0], x[-1], 500) xfit = np.linspace(x[0], x[-1], 500)
yfit = boltzmann(xfit, *parameters[0]) yfit = boltzmann(xfit, *parameters[0])
plot = figure.add_subplot(ylabel="$I_{frag}\ /\ \Sigma I$", plot = figure.add_subplot(ylabel="$I_{frag}\ /\ \Sigma I$",
xlabel="$Activation\ energy\ (AE)$",
xlim=(min(x), max(x)), ylim=(-0.1, 1.1)) xlim=(min(x), max(x)), ylim=(-0.1, 1.1))
plot.spines['top'].set_visible(False) plot.spines['top'].set_visible(False)
plot.spines['right'].set_visible(False) plot.spines['right'].set_visible(False)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment