Figures: renaming unassorted images

This commit is contained in:
Eric-Teunis de Boone 2023-07-06 13:28:06 +02:00
parent aa4b4f6928
commit 937eb6d1ef
7 changed files with 12 additions and 2 deletions

View file

@ -137,7 +137,7 @@ def correlation_figure(y1, y2, lags=None, lag_dt=1, ax=None, fig_kwargs={}, **li
def main(N_x = 1e4, x_delay=5, separate_figures=True, fig_kwargs={}):
x = np.linspace(-2, 8, N_x)
x = np.linspace(-2, 8, int(N_x))
y1 = slanted_boxcar(x, x0=0, slant_width=0, box_width=3) + 1/4*sine(x, x0=-3/2, x1=3/2, phase=np.pi/2)
y2 = slanted_boxcar(x, x0=0+x_delay, slant_width=1, box_width=0)
@ -210,8 +210,10 @@ if __name__ == "__main__":
if args.fname == 'none':
args.fname = None
pfl.rcParams['font.size'] *= 1.5
###
figs = main(separate_figures=True, fig_kwargs=dict(figsize=(6,3)))
figs = main(separate_figures=True, fig_kwargs=dict(figsize=(6,4)))
### Save or show figures
if not args.fname: