plot vector with string timestamp

4 次查看(过去 30 天)
Ancalagon8
Ancalagon8 2020-3-15
i want to plot some data with timestamp. Timestamp is string and my data are vector. Any help?
  1 个评论
Mohammad Sami
Mohammad Sami 2020-3-16
You can convert your timestamps to either datetime variable or to datenum. See documentation for how to set the format string.

请先登录,再进行评论。

回答(1 个)

Jakob B. Nielsen
Jakob B. Nielsen 2020-3-16
Take a look at the datetick function.

类别

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

Community Treasure Hunt

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

Start Hunting!

Translated by