Made fig_invariance_rect_lp.pdf and corresponding appendix figure.

Adjusted fig_invariance_log_hp.pdf with 2nd yaxis in dB.

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
j-hartling
2026-04-27 18:18:34 +02:00
parent 5411a309f7
commit 7e1aa8721a
26 changed files with 994 additions and 195 deletions

View File

@@ -300,6 +300,12 @@ def set_clip_box(artist, ax, bounds=[[0, -0.05], [1, 1.05]]):
artist.set_clip_box(TransformedBbox(Bbox(bounds), ax.transAxes))
return None
def color_axis(ax, color, axis='y', side='left'):
ax.spines[side].set_color(color)
ax.tick_params(colors=color, axis=axis, which='both')
ax.yaxis.label.set_color(color)
return None
def plot_dist_shifted(ax, data, axis, pdf=None, sigma=0.1, which='x',
base=None, cap=None, add_pdf=False, shifted=False, **kwargs):
if pdf is None: