aboutsummaryrefslogtreecommitdiffstats
path: root/buch/papers/laguerre/scripts/integrand.py
diff options
context:
space:
mode:
authorPatrik Müller <patrik.mueller@ost.ch>2022-07-15 16:24:48 +0200
committerPatrik Müller <patrik.mueller@ost.ch>2022-07-15 16:24:48 +0200
commit7a8795dcb555a551fd09a3c9b15002675e30891f (patch)
tree4913f47695788cc05778a4326ba5ca44b6eb0046 /buch/papers/laguerre/scripts/integrand.py
parentFirst version of section 'Gauss Quadratur', fix to gamma_approx.py when z=0 (diff)
downloadSeminarSpezielleFunktionen-7a8795dcb555a551fd09a3c9b15002675e30891f.tar.gz
SeminarSpezielleFunktionen-7a8795dcb555a551fd09a3c9b15002675e30891f.zip
Change image scripts to PDF format, update Makefile, add complex plane plot
Diffstat (limited to 'buch/papers/laguerre/scripts/integrand.py')
-rw-r--r--buch/papers/laguerre/scripts/integrand.py11
1 files changed, 10 insertions, 1 deletions
diff --git a/buch/papers/laguerre/scripts/integrand.py b/buch/papers/laguerre/scripts/integrand.py
index f31f194..e970721 100644
--- a/buch/papers/laguerre/scripts/integrand.py
+++ b/buch/papers/laguerre/scripts/integrand.py
@@ -6,9 +6,18 @@ if __name__ == "__main__":
import os
from pathlib import Path
+ import matplotlib as mpl
import matplotlib.pyplot as plt
import numpy as np
+ mpl.rcParams.update(
+ {
+ "mathtext.fontset": "stix",
+ "font.family": "serif",
+ "font.serif": "TeX Gyre Termes",
+ }
+ )
+
EPSILON = 1e-12
xlims = np.array([-3, 3])
@@ -30,4 +39,4 @@ if __name__ == "__main__":
ax.grid(1, "both")
labels = [f"$z={zi: 3.1f}$" for zi in np.squeeze(z)]
ax.legend(labels, ncol=2, loc="upper left", fontsize="small")
- fig.savefig(f"{img_path}/integrand.pgf")
+ fig.savefig(f"{img_path}/integrand.pdf")