Skip to content

Commit dfaed2a

Browse files
ArthurJWHGui-FernandesBR
authored andcommitted
ENH: Changed the ellipses labels
1 parent 973398c commit dfaed2a

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

rocketpy/plots/monte_carlo_plots.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,12 @@ def ellipses(
115115

116116
plt.legend()
117117
ax.set_title("1$\\sigma$, 2$\\sigma$ and 3$\\sigma$ Monte Carlo Ellipses")
118-
ax.set_ylabel("North (m)")
119-
ax.set_xlabel("East (m)")
118+
ax.text(0, -0.1, "West", va="bottom", ha="center", transform=ax.transAxes)
119+
ax.text(1, -0.1, "East", va="bottom", ha="center", transform=ax.transAxes)
120+
ax.text(-0.12, 0, "South", va="bottom", ha="left", transform=ax.transAxes)
121+
ax.text(-0.12, 1, "North", va="top", ha="left", transform=ax.transAxes)
122+
ax.set_ylabel("Y (m)")
123+
ax.set_xlabel("X (m)")
120124

121125
# Add background image to plot
122126
# TODO: In the future, integrate with other libraries to plot the map (e.g. cartopy, ee, etc.)

0 commit comments

Comments
 (0)