Plot where x axis is the date

In my plot x axis is the date starting from 04/20/2018 and ending 06/01/2018. How can I set the x axis of the plot to start from 04/20/2018 to end on 06/01/2018?

回答(1 个)

dpb
dpb 2018-6-4

0 个投票

xlim works with datetime data as x-axis for current releases.

类别

帮助中心File Exchange 中查找有关 Line Plots 的更多信息

产品

标签

回答:

dpb
2018-6-4

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by