Generate All Graphs

This commit is contained in:
Cal Wing 2024-08-28 13:21:12 +10:00
parent 5765f08e5e
commit a3a4a14924

View File

@ -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"