Added theme and labels back into python scripts

This commit is contained in:
Janita Willumsen
2023-12-04 15:09:37 +01:00
parent 08a6b32adb
commit 90047decb4
32 changed files with 136 additions and 53 deletions

View File

@@ -48,13 +48,13 @@ def plot_1_0():
ax1.plot(t, energy, label=f"{label}", color=color)
ax2.plot(t, magnetization, label=f"{label}", color=color)
ax1.set_xlabel("t")
ax1.set_ylabel(r"$\langle \epsilon \rangle$")
ax1.set_xlabel("t (MC cycles)")
ax1.set_ylabel(r"$\langle \epsilon \rangle$ $(J)$")
ax1.legend(title="Initial state", loc="upper right")
fig1.savefig("./latex/images/burn_in_time_energy_1_0.pdf", bbox_inches="tight")
ax2.set_ylabel(r"$\langle |m| \rangle$")
ax2.set_xlabel("t")
ax2.set_ylabel(r"$\langle |m| \rangle$ (unitless)")
ax2.set_xlabel("t (MC cycles)")
ax2.legend(title="Initial state", loc="upper right")
fig2.savefig(
"./latex/images/burn_in_time_magnetization_1_0.pdf", bbox_inches="tight"
@@ -94,13 +94,13 @@ def plot_2_4():
ax1.plot(t, energy, label=f"{label}", color=color)
ax2.plot(t, magnetization, label=f"{label}", color=color)
ax1.set_xlabel("t")
ax1.set_ylabel(r"$\langle \epsilon \rangle$")
ax1.set_xlabel("t (MC cycles)")
ax1.set_ylabel(r"$\langle \epsilon \rangle$ $(J)$")
ax1.legend(title="Initial state", loc="upper right")
fig1.savefig("./latex/images/burn_in_time_energy_2_4.pdf", bbox_inches="tight")
ax2.set_ylabel(r"$\langle |m| \rangle$")
ax2.set_xlabel("t")
ax2.set_ylabel(r"$\langle |m| \rangle$ (unitless)")
ax2.set_xlabel("t (MC cycles)")
ax2.legend(title="Initial state", loc="upper right")
fig2.savefig(
"./latex/images/burn_in_time_magnetization_2_4.pdf", bbox_inches="tight"