diff --git a/engineer.py b/engineer.py index 4951f65..6825595 100644 --- a/engineer.py +++ b/engineer.py @@ -400,8 +400,8 @@ def plot_geometry(self): # Annotation text ax.text(0.5 * (Labyrinth_wehr[3, 0] + Labyrinth_wehr[4, 0]), self.B + 0.2, "D", size=14) - ax.text(0.5 * Labyrinth_wehr[-1, 0], -0.1, "W", size=14) - ax.text(0, 0.5 * self.B, "B", size=14) + ax.text(0.5 * Labyrinth_wehr[-1, 0], -0.1, r"$W_{\mathrm{LW}}$", size=14) + ax.text(0, 0.5 * self.B, r"$B_{\mathrm{LW}}$", size=14) ax.text(Labyrinth_wehr[1, 0] + 0.5, Labyrinth_wehr[1, 1] + 0.2, r"$\alpha$", size=14) # Annotation arrows @@ -550,7 +550,7 @@ def optimize_labyrinth_geometry( # TODO alphai, Bi = np.meshgrid(Angle_vector, B_vector) plt.pcolormesh(alphai, Bi, Hu_result, cmap="rainbow") # imshow,pcolor options plt.xlabel("alpha [°]") - plt.ylabel("B [m]") + plt.ylabel(r"$B_{\mathrm{LW}}$ [m]") plt.grid() plt.colorbar() plt.show()