*ARCHIVED* development moved to aircraft-studio.
plotting method cleanup
evaluator.py
@@ -232,7 +232,7 @@
232
232
plt.plot(x, y, '-', color='b')
233
233
except AttributeError:
234
234
print('No spars to plot.')
235
Removed:
# Plot upper stringers
235
Added:
# Plot stringers
236
236
try:
237
237
for _ in range(0, len(evaluator.stringer.x)):
238
238
x = evaluator.stringer.x[_]
@@ -240,11 +240,6 @@
240
240
plt.plot(x, y, '.', color='y', markersize=12)
241
241
except AttributeError:
242
242
print('No stringers to plot.')
243
Removed:
# # Plot lower stringers
244
Removed:
# for _ in range(0, len(evaluator.stringer.x)):
245
Removed:
# x = evaluator.stringer.x[_]
246
Removed:
# y = evaluator.stringer.z[_]
247
Removed:
# plt.plot(x, y, '.', color='y', markersize=12)
248
243
249
244
# Plot centroid
250
245
x = evaluator.centroid[0]