通过使用matplotlib打印,有时我有这种轴格式。值正确(已检查调试),唯一的问题是显示。在
plt.figure(figsize=(8, 8.5))
plt.subplot(311)
plt.plot(t_p, L_p)
plt.title('Lift')
plt.xlabel('Time [s]')
plt.ylabel('Lift [N]')
plt.ylim(min(L_p), max(L_p))
plt.matplotlib.pyplot.tight_layout(pad=1.08, h_pad=None, w_pad=None,rect=None)
谢谢大家的帮助。在
目前没有回答
相关问题 更多 >
编程相关推荐