From ac207383923288a18c6448cd7c76e0f36b233e0e Mon Sep 17 00:00:00 2001 From: "armindamon.riess" <armindamon.riess@uzh.ch> Date: Wed, 14 Dec 2022 10:40:20 +0100 Subject: [PATCH] add x axis label --- plots/plot.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plots/plot.py b/plots/plot.py index 9dce8af..82115d8 100644 --- a/plots/plot.py +++ b/plots/plot.py @@ -5,4 +5,5 @@ data = np.loadtxt('../out/data.txt') steps = np.linspace(0, len(data), len(data)) plt.plot(steps, data) +plt.xlabel('Steps') plt.savefig('plot.png', dpi=300) \ No newline at end of file -- GitLab