From a3a4a14924f0c6524778ba954d8a8d46a21b5f53 Mon Sep 17 00:00:00 2001 From: Cal Wing <20716204+calw20@users.noreply.github.com> Date: Wed, 28 Aug 2024 13:21:12 +1000 Subject: [PATCH] Generate All Graphs --- main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.py b/main.py index c46a43d..c356ca6 100644 --- a/main.py +++ b/main.py @@ -200,7 +200,7 @@ def make_rpm_graph(): if __name__ == '__main__': print("Generating RPM Graph") - #make_rpm_graph() + make_rpm_graph() print("Generated") print("Loading Data & Generating Pressure Graphs") @@ -214,7 +214,7 @@ if __name__ == '__main__': data[raw_data["rpm"]] = aoa_data - if False: + if True: # All graph = { "title": f"Pressure vs Pitot Placement along Chord\nfor a Clark Y 14% Aerofoil at:\n{raw_data["rpm"]:d} RPM ({raw_data["airSpeed"]:.1f}m/s)", @@ -265,7 +265,7 @@ if __name__ == '__main__': graph["figSize"] = (8, 6) - makeGraph(graph, False, figSavePath="./images/pressure/__{0}.png") + makeGraph(graph, False, figSavePath="./images/pressure/__{0}.png", closeFig=True) graph["plots"] = [] graph["windowTitle"] = f"Pressure along Clark Y 14 Percent Airfoil - {raw_data["rpm"]:d}rpm - {raw_data["airSpeed"]:.1f}m_s"