diff options
author | Marius Peter <blendoit@gmail.com> | 2019-06-24 20:20:15 -0700 |
---|---|---|
committer | Marius Peter <blendoit@gmail.com> | 2019-06-24 20:20:15 -0700 |
commit | 0658183612f39bae5cf0083befa226de5a2653d9 (patch) | |
tree | 0b499914d77424c6120c13a0bd14cad11a5ef877 /evaluator.py | |
parent | f7a377e7659ce006acfd94fca2dcf6fcf5362bf4 (diff) |
split 'add_web' into creator for coords and evaluator for math
Diffstat (limited to 'evaluator.py')
-rw-r--r-- | evaluator.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/evaluator.py b/evaluator.py index d5e5ee3..c2429d1 100644 --- a/evaluator.py +++ b/evaluator.py @@ -222,7 +222,12 @@ def plot_geom(evaluator): plt.plot(evaluator.chord / 4, 0, '.', color='g', markersize=24, label='Quarter-chord') # Plot airfoil surfaces - plt.fill(evaluator.x, evaluator.z, color='b', linewidth='1', fill=False) + x = [0.98 * x for x in evaluator.x] + y = [0.98 * z for z in evaluator.z] + plt.fill(x, y, color='w', linewidth='1', fill=False) + x = [1.02 * x for x in evaluator.x] + y = [1.02 * z for z in evaluator.z] + plt.fill(x, y, color='b', linewidth='1', fill=False) # Plot spars try: |