python图例字体下标不一样大
python字体下标不一样大
添加下标:_
添加上标:^
添加下标两个字时字体不一样大
import numpy as np
from matplotlib import pyplot as plt
t = np.linspace(0, 10, 1000)
y11 = np.sin(t)
y22 = np.sin(1.5*t)
y33 = np.sin(3*t)
y44 = np.sin(4*t)
plt.plot(t, y11,label = 'y_11',color = 'red', linewidth
原创
2020-09-11 17:14:45 ·
631 阅读 ·
0 评论