plot vector with string timestamp

1 Ansicht (letzte 30 Tage)
Ancalagon8
Ancalagon8 am 15 Mär. 2020
Kommentiert: Ancalagon8 am 16 Mär. 2020
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 Kommentare
Mohammad Sami
Mohammad Sami am 16 Mär. 2020
You can convert your timestamps to either datetime variable or to datenum. See documentation for how to set the format string.
Ancalagon8
Ancalagon8 am 16 Mär. 2020
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?

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Jakob B. Nielsen
Jakob B. Nielsen am 16 Mär. 2020
Take a look at the datetick function.
  1 Kommentar
Ancalagon8
Ancalagon8 am 16 Mär. 2020
Need further help. Can you explain please?

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Dates and Time finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by