aboutsummaryrefslogtreecommitdiffstats
path: root/buch/papers/laguerre/scripts/rel_error_mirror.py
diff options
context:
space:
mode:
Diffstat (limited to 'buch/papers/laguerre/scripts/rel_error_mirror.py')
-rw-r--r--buch/papers/laguerre/scripts/rel_error_mirror.py12
1 files changed, 11 insertions, 1 deletions
diff --git a/buch/papers/laguerre/scripts/rel_error_mirror.py b/buch/papers/laguerre/scripts/rel_error_mirror.py
index 05e68e4..7348d5e 100644
--- a/buch/papers/laguerre/scripts/rel_error_mirror.py
+++ b/buch/papers/laguerre/scripts/rel_error_mirror.py
@@ -1,9 +1,18 @@
if __name__ == "__main__":
+ import matplotlib as mpl
import matplotlib.pyplot as plt
import numpy as np
import scipy.special
import gamma_approx as ga
+
+ mpl.rcParams.update(
+ {
+ "mathtext.fontset": "stix",
+ "font.family": "serif",
+ "font.serif": "TeX Gyre Termes",
+ }
+ )
xmin = -15
xmax = 15
@@ -25,4 +34,5 @@ if __name__ == "__main__":
# ax.set_ylabel("Relativer Fehler")
ax.legend(ncol=1, loc="upper left", fontsize=ga.fontsize)
ax.grid(1, "both")
- fig.savefig(f"{ga.img_path}/rel_error_mirror.pgf")
+ # fig.savefig(f"{ga.img_path}/rel_error_mirror.pgf")
+ fig.savefig(f"{ga.img_path}/rel_error_mirror.pdf")