From 351639c988518e5d9067305c2f9c6aab29901852 Mon Sep 17 00:00:00 2001 From: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com> Date: Tue, 7 Jul 2020 19:01:03 +0200 Subject: [PATCH] Add markers to basic plot image --- scripts/basic-plots.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/basic-plots.py b/scripts/basic-plots.py index 9923e08..39a8cd9 100644 --- a/scripts/basic-plots.py +++ b/scripts/basic-plots.py @@ -17,9 +17,9 @@ # Basic line plot # ----------------------------------------------------------------------------- -X = np.linspace(0, 10, 100) +X = np.linspace(0, 10, 33) Y = 4+2*np.sin(2*X) -ax.plot(X, Y, color="C1", linewidth=0.75) +ax.plot(X, Y, "C1o-", linewidth=0.75) ax.set_xlim(0, 8), ax.set_xticks(np.arange(1,8)) ax.set_ylim(0, 8), ax.set_yticks(np.arange(1,8)) ax.grid(linewidth=0.125)