编写乳胶符号以标记图形的x和y轴

时间:2019-07-23 15:16:34

标签: matplotlib latex

我正在使用matplotlib绘制图形。

我想使用乳胶符号将x轴标记为任何y轴。

我可以这样做吗?

`x= np.array([1,2,5,7])
y= np.array([6,6,8,9])
plt.xlabel(r'$\mathscr{L}$')
plt.ylabel(r'$\mathrm{s}$')`

0 个答案:

没有答案