*ARCHIVED* development moved to aircraft-studio.
squarify plot window
creator.py
@@ -391,13 +391,13 @@
391
391
plt.plot(x, y, '.', color='y')
392
392
393
393
# Graph formatting
394
Removed:
plt.gca().set_aspect('equal', adjustable='box')
395
394
plt.xlabel('X axis')
396
395
plt.ylabel('Z axis')
397
396
398
397
plot_bound = airfoil.x_u[-1]
399
Removed:
plt.xlim(- 5, plot_bound + 5)
400
Removed:
plt.ylim(- plot_bound / 2, plot_bound / 2)
398
Added:
plt.xlim(- 0.10 * plot_bound, 1.10 * plot_bound)
399
Added:
plt.ylim(- (1.10 * plot_bound / 2), (1.10 * plot_bound / 2))
400
Added:
plt.gca().set_aspect('equal', adjustable='box')
401
401
plt.grid(axis='both', linestyle=':', linewidth=1)
402
402
plt.show()
403
403
return None