From 77057d336da225ec40136a4f2feac1063215847e Mon Sep 17 00:00:00 2001 From: Csaba Kiraly Date: Thu, 13 Apr 2023 06:02:39 +0200 Subject: [PATCH] change figure size Signed-off-by: Csaba Kiraly --- DAS/simulator.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/DAS/simulator.py b/DAS/simulator.py index 51b06ac..5ad4c3e 100644 --- a/DAS/simulator.py +++ b/DAS/simulator.py @@ -247,8 +247,10 @@ class Simulator: if self.config.saveProgress: self.result.addMetric("progress", progress.to_dict(orient='list')) if self.config.plotProgress: - progress.plot.line(subplots = [[cnS, cnN, cnV], [cnT0], [cnT1, cnR1, cnD1], [cnT2, cnR2, cnD2]], - title = str(self.shape)) + axs = progress.plot.line( + subplots = [[cnS, cnN, cnV], [cnT0], [cnT1, cnR1, cnD1], [cnT2, cnR2, cnD2]], + title = str(self.shape), + figsize=(6,6)) axs[0].set_ylabel("progress") axs[1].set_ylabel("throughput [mbps]") axs[2].set_ylabel("throughput [mbps]")