From 161adb15af8d10ccf6090a43a4c89b0d05c6ecda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrik=20M=C3=BCller?= Date: Sat, 28 May 2022 16:16:52 +0200 Subject: Add introduction, integrand plot and reason why shifting evalutaion of gamma-func --- buch/papers/laguerre/scripts/laguerre_plot.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'buch/papers/laguerre/scripts/laguerre_plot.py') diff --git a/buch/papers/laguerre/scripts/laguerre_plot.py b/buch/papers/laguerre/scripts/laguerre_plot.py index b9088d0..1be3552 100644 --- a/buch/papers/laguerre/scripts/laguerre_plot.py +++ b/buch/papers/laguerre/scripts/laguerre_plot.py @@ -29,7 +29,7 @@ fig, ax = plt.subplots(num=1, clear=True, constrained_layout=True, figsize=(6, 4 for n in np.arange(0, 8): k = np.arange(0, n + 1)[None] L = np.sum((-1) ** k * ss.binom(n, k) / ss.factorial(k) * t ** k, -1) - ax.plot(t, L, label=f"n={n}") + ax.plot(t, L, label=f"$n={n}$") ax.set_xticks(get_ticks(int(t[0]), t[-1]), minor=True) ax.set_xticks(get_ticks(0, t[-1], step)) @@ -97,4 +97,5 @@ ax.arrow( clip_on=False, ) -fig.savefig(f"{img_path}/laguerre_polynomes.pdf") +fig.savefig(f"{img_path}/laguerre_polynomes.pgf") +# plt.show() -- cgit v1.2.1