squarify plot window

Commit
234251fa0370491e105fcd18c4c05556579562da
Author
Marius Peter <blendoit@gmail.com>
Author date
Committer
Marius Peter <blendoit@gmail.com>
Committer date
creator.py
index 1f02e71f..c30480e2 100644..100644
@@ -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