阅读背景:

如何让x轴只显示我想绘制的数据?而不是包括没有情节的标签?

来源:互联网 

I am plotting dates vs integars. However because the date range is 100 days apart, matplotlib automatically includes every date between the 100 days, even when only 20 or so have data to plot. So my questions is, how do i get the x axis to only produce the dates that have data to plot? Also, at the moment the dates are squashed in a horizontal way, how do i get them in a vertical way so more can fit?I am plotting dates vs integars. However becaus




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: