From 3d69f971052a372e459036de9a0ab6a235956056 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 a3dd501..d4cceaf 100644 --- a/DAS/simulator.py +++ b/DAS/simulator.py @@ -249,8 +249,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]")