changed Figs directory

This commit is contained in:
Yael-II
2025-01-19 17:35:00 +01:00
parent e37b23bb7d
commit 1d31951a7d
6 changed files with 10 additions and 10 deletions

View File

@@ -61,7 +61,7 @@ def plot_area(filelist: list, mu_c = 1e-4) -> int:
ax.set_ylabel("Phase-space squared distance $\\mu$")
ax.set_yscale("log")
ax.legend()
fig.savefig("mu.pdf")
fig.savefig("Figs/mu.pdf")
fig, ax = plt.subplots(1)
N_reg = np.count_nonzero(mu < mu_c, axis=1)
@@ -70,7 +70,7 @@ def plot_area(filelist: list, mu_c = 1e-4) -> int:
ax.scatter(E, Area, s=5, color="C0")
ax.set_xlabel("Energy $E$")
ax.set_ylabel("Area $N_\\mathrm{{reg}}/N_\\mathrm{{part}}$")
fig.savefig("area.pdf")
fig.savefig("Figs/area.pdf")
return 0
filelist = [f for f in os.listdir(OUT_DIR) if FILENAME_PREFIX in f]