Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 2 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(1)
您可以使用
datetick
dateTick 做到这一点。当您不指定格式时,MATLAB会在缩放时自动调整比例。如果您的日期不在
datenum 格式,更改,首先,例如
You can use
datetick
to do that. When you do not specify a format, MATLAB automatically adjusts the scale when zooming.If your date aren't in
datenum
format, change those first, e.g.