aboutsummaryrefslogtreecommitdiffstats
path: root/buch/papers/laguerre/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'buch/papers/laguerre/scripts')
-rw-r--r--buch/papers/laguerre/scripts/estimates.py2
-rw-r--r--buch/papers/laguerre/scripts/laguerre_poly.py2
-rw-r--r--buch/papers/laguerre/scripts/rel_error_simple.py2
-rw-r--r--buch/papers/laguerre/scripts/targets.py2
4 files changed, 4 insertions, 4 deletions
diff --git a/buch/papers/laguerre/scripts/estimates.py b/buch/papers/laguerre/scripts/estimates.py
index 21551f3..1acd7f7 100644
--- a/buch/papers/laguerre/scripts/estimates.py
+++ b/buch/papers/laguerre/scripts/estimates.py
@@ -15,7 +15,7 @@ if __name__ == "__main__":
)
N = 200
- ns = np.arange(2, 13)
+ ns = np.arange(1, 13)
step = 1 / (N - 1)
x = np.linspace(step, 1 - step, N + 1)
diff --git a/buch/papers/laguerre/scripts/laguerre_poly.py b/buch/papers/laguerre/scripts/laguerre_poly.py
index 9700ab4..05db5d3 100644
--- a/buch/papers/laguerre/scripts/laguerre_poly.py
+++ b/buch/papers/laguerre/scripts/laguerre_poly.py
@@ -46,7 +46,7 @@ if __name__ == "__main__":
ax.set_yticks(get_ticks(-ylim, ylim), minor=True)
ax.set_yticks(get_ticks(-step * (ylim // step), ylim, step))
ax.set_ylim(-ylim, ylim)
- ax.set_ylabel(r"$y$", y=0.95, labelpad=-18, rotation=0, fontsize="large")
+ ax.set_ylabel(r"$y$", y=0.95, labelpad=-14, rotation=0, fontsize="large")
ax.legend(ncol=2, loc=(0.125, 0.01), fontsize="large")
diff --git a/buch/papers/laguerre/scripts/rel_error_simple.py b/buch/papers/laguerre/scripts/rel_error_simple.py
index 686500b..e1ea36a 100644
--- a/buch/papers/laguerre/scripts/rel_error_simple.py
+++ b/buch/papers/laguerre/scripts/rel_error_simple.py
@@ -18,7 +18,7 @@ if __name__ == "__main__":
# Simple / naive
xmin = -5
- xmax = 30
+ xmax = 25
ns = np.arange(2, 12, 2)
ylim = np.array([-11, 6])
x = np.linspace(xmin + ga.EPSILON, xmax - ga.EPSILON, 400)
diff --git a/buch/papers/laguerre/scripts/targets.py b/buch/papers/laguerre/scripts/targets.py
index 3bc7f52..69f94ba 100644
--- a/buch/papers/laguerre/scripts/targets.py
+++ b/buch/papers/laguerre/scripts/targets.py
@@ -38,7 +38,7 @@ if __name__ == "__main__":
)
N = 200
- ns = np.arange(2, 13)
+ ns = np.arange(1, 13)
bests = find_best_loc(N, ns=ns)