aboutsummaryrefslogtreecommitdiffstats
path: root/buch/papers/laguerre/scripts/rel_error_shifted.py
diff options
context:
space:
mode:
authorPatrik Müller <patrik.mueller@ost.ch>2022-07-18 17:34:37 +0200
committerPatrik Müller <patrik.mueller@ost.ch>2022-07-18 17:34:37 +0200
commite1f5d6267540ea8dc758696fb08cb7540362cf8f (patch)
tree9262e3e7dd31bcea50a5e1dc43cab4fa8f681625 /buch/papers/laguerre/scripts/rel_error_shifted.py
parentChange image scripts to PDF format, update Makefile, add complex plane plot (diff)
downloadSeminarSpezielleFunktionen-e1f5d6267540ea8dc758696fb08cb7540362cf8f.tar.gz
SeminarSpezielleFunktionen-e1f5d6267540ea8dc758696fb08cb7540362cf8f.zip
First complete draft of Laguerre chapter
Diffstat (limited to '')
-rw-r--r--buch/papers/laguerre/scripts/rel_error_shifted.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buch/papers/laguerre/scripts/rel_error_shifted.py b/buch/papers/laguerre/scripts/rel_error_shifted.py
index dc9d177..f53c89b 100644
--- a/buch/papers/laguerre/scripts/rel_error_shifted.py
+++ b/buch/papers/laguerre/scripts/rel_error_shifted.py
@@ -20,7 +20,7 @@ if __name__ == "__main__":
x = np.linspace(step, 1 - step, N + 1)
targets = np.arange(10, 14)
gamma = scipy.special.gamma(x)
- fig, ax = plt.subplots(num=1, clear=True, constrained_layout=True, figsize=(5, 2.5))
+ fig, ax = plt.subplots(num=1, clear=True, constrained_layout=True, figsize=(5, 2.1))
for target in targets:
gamma_lag = ga.eval_laguerre_gamma(x, target=target, n=n, func="shifted")
rel_error = np.abs(ga.calc_rel_error(gamma, gamma_lag))