1
0
Fork 0
mirror of https://github.com/Findus23/halo_comparison.git synced 2024-09-19 16:03:50 +02:00

Split label of power spectra plot, moved text slightly

This commit is contained in:
glatterf42 2022-08-19 15:11:29 +02:00
parent d83da6d742
commit 7ddfd8a74a

View file

@ -109,7 +109,7 @@ def create_plot(mode):
ax.set_xlabel("k [Mpc$^{-1}$]") ax.set_xlabel("k [Mpc$^{-1}$]")
ax.text( ax.text(
0.01, 0.01,
0.85, 0.82,
f"{waveform}", f"{waveform}",
horizontalalignment="left", horizontalalignment="left",
verticalalignment="top", verticalalignment="top",
@ -117,7 +117,7 @@ def create_plot(mode):
) )
ax.text( ax.text(
0.99, 0.99,
0.85, 0.82,
axes_names[ax], axes_names[ax],
horizontalalignment="right", horizontalalignment="right",
verticalalignment="top", verticalalignment="top",
@ -216,7 +216,7 @@ def create_plot(mode):
crossings[i][j] = crossing_value crossings[i][j] = crossing_value
ax_end.set_xlim(right=k0 * resolutions[-1]) ax_end.set_xlim(right=k0 * resolutions[-1])
ax_end.set_ylim(0.8, 1.02) ax_end.set_ylim(0.9, 1.02)
if bottom_row: if bottom_row:
lines: List[Line2D] = ax_ics.get_lines() lines: List[Line2D] = ax_ics.get_lines()
half_lines1 = [] half_lines1 = []