aboutsummaryrefslogtreecommitdiffstats
path: root/buch/papers/laguerre/scripts/laguerre_plot.py
diff options
context:
space:
mode:
authorPatrik Müller <patrik.mueller@ost.ch>2022-05-28 16:16:52 +0200
committerPatrik Müller <patrik.mueller@ost.ch>2022-05-28 16:16:52 +0200
commit161adb15af8d10ccf6090a43a4c89b0d05c6ecda (patch)
tree1f05b32ba60d9ba7108afb9ac9d8a0fd9c1e9f0d /buch/papers/laguerre/scripts/laguerre_plot.py
parentMerge branch 'AndreasFMueller:master' into master (diff)
downloadSeminarSpezielleFunktionen-161adb15af8d10ccf6090a43a4c89b0d05c6ecda.tar.gz
SeminarSpezielleFunktionen-161adb15af8d10ccf6090a43a4c89b0d05c6ecda.zip
Add introduction, integrand plot and reason why shifting evalutaion of gamma-func
Diffstat (limited to '')
-rw-r--r--buch/papers/laguerre/scripts/laguerre_plot.py5
1 files changed, 3 insertions, 2 deletions
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()