summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Peter <blendoit@gmail.com>2019-06-24 19:13:54 -0700
committerMarius Peter <blendoit@gmail.com>2019-06-24 19:13:54 -0700
commitf7a377e7659ce006acfd94fca2dcf6fcf5362bf4 (patch)
treee90c782da43560a80df4b597aa0469ce12ec4db1
parent576c9232ec279b6f9e50f7c4d56c9836208d1c07 (diff)
plotting method cleanup
-rw-r--r--evaluator.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/evaluator.py b/evaluator.py
index 8e82312..d5e5ee3 100644
--- a/evaluator.py
+++ b/evaluator.py
@@ -232,7 +232,7 @@ def plot_geom(evaluator):
plt.plot(x, y, '-', color='b')
except AttributeError:
print('No spars to plot.')
- # Plot upper stringers
+ # Plot stringers
try:
for _ in range(0, len(evaluator.stringer.x)):
x = evaluator.stringer.x[_]
@@ -240,11 +240,6 @@ def plot_geom(evaluator):
plt.plot(x, y, '.', color='y', markersize=12)
except AttributeError:
print('No stringers to plot.')
- # # Plot lower stringers
- # for _ in range(0, len(evaluator.stringer.x)):
- # x = evaluator.stringer.x[_]
- # y = evaluator.stringer.z[_]
- # plt.plot(x, y, '.', color='y', markersize=12)
# Plot centroid
x = evaluator.centroid[0]
Copyright 2019--2024 Marius PETER