python画图x轴更改间隔_python matplotlib 设置x轴文本间隔显示(数字的话可以转为字符之后处理)...
fig1,ax=plt.subplots()ax.plot(totalSeed,df.loc[:,'MACDhist_1'])ax.plot(df.loc[:,'MACDhist_2'])ax.plot(df.loc[:,'MACDhist_5'])ax.plot(df.loc[:,'MACDhist_20'])plt.legend(loc='SouthEast')xticks=list(rang