diff options
author | Patrik Müller <patrik.mueller@ost.ch> | 2022-07-18 17:34:37 +0200 |
---|---|---|
committer | Patrik Müller <patrik.mueller@ost.ch> | 2022-07-18 17:34:37 +0200 |
commit | e1f5d6267540ea8dc758696fb08cb7540362cf8f (patch) | |
tree | 9262e3e7dd31bcea50a5e1dc43cab4fa8f681625 /buch/papers/laguerre/scripts/rel_error_range.py | |
parent | Change image scripts to PDF format, update Makefile, add complex plane plot (diff) | |
download | SeminarSpezielleFunktionen-e1f5d6267540ea8dc758696fb08cb7540362cf8f.tar.gz SeminarSpezielleFunktionen-e1f5d6267540ea8dc758696fb08cb7540362cf8f.zip |
First complete draft of Laguerre chapter
Diffstat (limited to 'buch/papers/laguerre/scripts/rel_error_range.py')
-rw-r--r-- | buch/papers/laguerre/scripts/rel_error_range.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buch/papers/laguerre/scripts/rel_error_range.py b/buch/papers/laguerre/scripts/rel_error_range.py index 43b5450..ece3b6d 100644 --- a/buch/papers/laguerre/scripts/rel_error_range.py +++ b/buch/papers/laguerre/scripts/rel_error_range.py @@ -21,7 +21,7 @@ if __name__ == "__main__": x = np.linspace(xmin + ga.EPSILON, xmax - ga.EPSILON, N) 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)) for n in ns: gamma_lag = ga.eval_laguerre_gamma(x, n=n, func="optimal_shifted") rel_err = ga.calc_rel_error(gamma, gamma_lag) |