summaryrefslogtreecommitdiff
path: root/creator.py
diff options
context:
space:
mode:
authorMarius Peter <blendoit@gmail.com>2019-06-21 20:19:07 -0700
committerMarius Peter <blendoit@gmail.com>2019-06-21 20:19:07 -0700
commit37fd84611a939bb707dc31ca7bfd9a7e6dd552ce (patch)
tree4f8876a8a1564014b9721e2ab9fcb04715f54321 /creator.py
parent9780f7eabdce984692994250b8a179cff1dc135c (diff)
all plots coherent
Diffstat (limited to 'creator.py')
-rw-r--r--creator.py10
1 files changed, 4 insertions, 6 deletions
diff --git a/creator.py b/creator.py
index a468c2d..42f05e3 100644
--- a/creator.py
+++ b/creator.py
@@ -232,7 +232,7 @@ class Airfoil(Coordinates):
y_chord = [0, 0]
plt.plot(x_chord, y_chord, linewidth='1')
# Plot quarter chord
- plt.plot(self.chord / 4, 0, '.', color='g')
+ plt.plot(self.chord / 4, 0, '.', color='g', markersize=24)
# Plot mean camber line
plt.plot(self.x_c, self.y_c,
'-.', color='r', linewidth='2',
@@ -255,12 +255,12 @@ class Airfoil(Coordinates):
for _ in range(0, len(self.stringer.x_u)):
x = self.stringer.x_u[_]
y = self.stringer.z_u[_]
- plt.plot(x, y, '.', color='y')
+ plt.plot(x, y, '.', color='y', markersize=12)
# Lower stringers
for _ in range(0, len(self.stringer.x_l)):
x = self.stringer.x_l[_]
y = self.stringer.z_l[_]
- plt.plot(x, y, '.', color='y')
+ plt.plot(x, y, '.', color='y', markersize=12)
# Graph formatting
plt.xlabel('X axis')
@@ -271,9 +271,7 @@ 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.draw()
- plt.pause(1)
- # plt.close()
+ plt.show()
return None
Copyright 2019--2024 Marius PETER