Generate All Graphs
This commit is contained in:
parent
5765f08e5e
commit
a3a4a14924
6
main.py
6
main.py
@ -200,7 +200,7 @@ def make_rpm_graph():
|
|||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
print("Generating RPM Graph")
|
print("Generating RPM Graph")
|
||||||
#make_rpm_graph()
|
make_rpm_graph()
|
||||||
print("Generated")
|
print("Generated")
|
||||||
|
|
||||||
print("Loading Data & Generating Pressure Graphs")
|
print("Loading Data & Generating Pressure Graphs")
|
||||||
@ -214,7 +214,7 @@ if __name__ == '__main__':
|
|||||||
|
|
||||||
data[raw_data["rpm"]] = aoa_data
|
data[raw_data["rpm"]] = aoa_data
|
||||||
|
|
||||||
if False:
|
if True:
|
||||||
# All
|
# All
|
||||||
graph = {
|
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)",
|
"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)
|
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["plots"] = []
|
||||||
graph["windowTitle"] = f"Pressure along Clark Y 14 Percent Airfoil - {raw_data["rpm"]:d}rpm - {raw_data["airSpeed"]:.1f}m_s"
|
graph["windowTitle"] = f"Pressure along Clark Y 14 Percent Airfoil - {raw_data["rpm"]:d}rpm - {raw_data["airSpeed"]:.1f}m_s"
|
||||||
|
Loading…
Reference in New Issue
Block a user