plot vector with string timestamp

1 回表示 (過去 30 日間)
Ancalagon8
Ancalagon8 2020 年 3 月 15 日
コメント済み: Ancalagon8 2020 年 3 月 16 日
i want to plot some data with timestamp. Timestamp is string like this: 2019-07-01T18:55:02.197040 and my data are vector. Any help?
  2 件のコメント
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.
Ancalagon8
Ancalagon8 2020 年 3 月 16 日
Thank you for your answer but i need to have them in a plot with exact format like 01/07/2019 18:55:00 etc and not numbers..any help?

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

回答 (1 件)

Jakob B. Nielsen
Jakob B. Nielsen 2020 年 3 月 16 日
Take a look at the datetick function.
  1 件のコメント
Ancalagon8
Ancalagon8 2020 年 3 月 16 日
Need further help. Can you explain please?

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

カテゴリ

Help Center および File ExchangeDates and Time についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by