在轴中添加单位
Adding units in axis
python 中是否有库可以使用 matplotlib 在图形中包含符号?
我希望我的 y 轴以每秒微米为单位表示速度,y 轴应为 V (µm/s)。
我无法在我的代码中插入 "micro" 符号。
目前我正在绘制为 V(um/s)。
plt.ylabel('V (um/s)', fontsize = 10)
尝试
plt.ylabel('V (\u03BCm/s)')
输出:
python 中是否有库可以使用 matplotlib 在图形中包含符号? 我希望我的 y 轴以每秒微米为单位表示速度,y 轴应为 V (µm/s)。 我无法在我的代码中插入 "micro" 符号。 目前我正在绘制为 V(um/s)。
plt.ylabel('V (um/s)', fontsize = 10)
尝试
plt.ylabel('V (\u03BCm/s)')
输出: