Jump datetime in graphs and tables

Dear all. How can I jump date on my graphs and tables?
For example: three to three,
Date x1 x2
02/2010 3.24 4.36
05/2010 6.09 1.78
...
08/2018 value value
Thanks!

 採用された回答

dpb
dpb 2019 年 1 月 29 日

1 投票

You mean generate a series of some time difference (like three months above)???
dat=datetime(2010,2:3:9*12,1).';
dat.Format='MM/yyyy';
>> dat(1:5)
ans =
5×1 datetime array
02/2010
05/2010
08/2010
11/2010
02/2011
>>

1 件のコメント

rpid
rpid 2019 年 1 月 29 日
Exactly. Thank you.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeDates and Time についてさらに検索

質問済み:

2019 年 1 月 28 日

コメント済み:

2019 年 1 月 29 日

Community Treasure Hunt

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

Start Hunting!

Translated by