Plot a timeseries from array of dates

2 次查看(过去 30 天)
Hello,
I have an array that is 6xN The 6 rows are YYYY, DD, MM, HH, MM, SS from timestamp data
I would like to know how can I plot this as a timeseries?
>> timelist([1 2 3 4 5 6],1)
ans =
2012
16
1
11
11
48

采纳的回答

Oleg Komarov
Oleg Komarov 2012-7-31
编辑:Oleg Komarov 2012-7-31
Convert each column into a proper numeric date:
datenum(timelist')
EDIT
datetick('x')
  3 个评论
Oleg Komarov
Oleg Komarov 2012-7-31
See the edit, use it after you plotted.
Jacob Brinkmann
Jacob Brinkmann 2012-7-31
Ok, I should be able to figure the rest out now. Thank you!

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Time Series 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by