【发布时间】:2021-05-16 00:19:39
【问题描述】:
我的问题与this question有关。
我想在 Matplotlib 图中将 $\tilde{b}$ 显示为 ylabel。
MWE
import matplotlib
import matplotlib.pyplot as plt
matplotlib.rc('text', usetex=True)
plt.figure(1)
plt.plot(np.array([0, 1]), np.array([0, 1]))
plt.ylabel('$\tilde{b}$')
plt.show()
结果只是显示
ilde b
在轴上。我认为这与 b 是辅音这一事实有关,但它也不适用于元音。
我能做什么?
【问题讨论】:
标签: python matplotlib latex axis-labels