mirror of
https://github.com/Richard-Sti/csiborgtools.git
synced 2024-12-22 06:38:02 +00:00
Edit xlabel
This commit is contained in:
parent
10b355954b
commit
14dc8f85af
1 changed files with 3 additions and 3 deletions
|
@ -65,8 +65,8 @@ def plot_cdf(run, kwargs):
|
|||
plt.plot(x, y_csiborg[i], c="C1", label=label2)
|
||||
plt.xlim(0, 75)
|
||||
plt.ylim(0, 1)
|
||||
plt.xlabel(r"$r_{\rm neighbour}~[\mathrm{Mpc}]$")
|
||||
plt.ylabel(r"$\mathrm{CDF}(r_{1\mathrm{N}})$")
|
||||
plt.xlabel(r"$r_{1\mathrm{NN}}~[\mathrm{Mpc}]$")
|
||||
plt.ylabel(r"$\mathrm{CDF}(r_{1\mathrm{NN}})$")
|
||||
plt.legend()
|
||||
|
||||
plt.tight_layout()
|
||||
|
@ -93,7 +93,7 @@ def plot_significance_hist(run, nsim, kwargs):
|
|||
plt.figure()
|
||||
plt.hist(x, bins="auto")
|
||||
|
||||
plt.xlabel(r"$r_{1\mathrm{N}}$ significance $\mathrm{[\sigma]}$")
|
||||
plt.xlabel(r"$r_{1\mathrm{NN}}$ significance $\mathrm{[\sigma]}$")
|
||||
plt.ylabel(r"Counts")
|
||||
plt.tight_layout()
|
||||
for ext in ["png"]:
|
||||
|
|
Loading…
Reference in a new issue