diff options
author | Marius Peter <blendoit@gmail.com> | 2019-06-21 19:29:54 -0700 |
---|---|---|
committer | Marius Peter <blendoit@gmail.com> | 2019-06-21 19:29:54 -0700 |
commit | 7729848607e1ea945a31b89b73f3a3b1c4034977 (patch) | |
tree | 7f3b8343631bf313278865f1e78afaa52feeea8d /creator.py | |
parent | ed394647e3c5101255a1bcbb023e78ed768d30e0 (diff) |
plot() class methods revised & improved
Diffstat (limited to 'creator.py')
-rw-r--r-- | creator.py | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -222,7 +222,7 @@ class Airfoil(Coordinates): return None def plot(self): - '''This function plots the elements passed as arguments.''' + '''This function plots the entire airfoil's geometry.''' # Plot chord x_chord = [0, self.chord] @@ -268,7 +268,9 @@ class Airfoil(Coordinates): plt.ylim(- (1.10 * plot_bound / 2), (1.10 * plot_bound / 2)) plt.gca().set_aspect('equal', adjustable='box') plt.grid(axis='both', linestyle=':', linewidth=1) - plt.show() + plt.draw() + plt.pause(1) + # plt.close() return None |