plot vector with string timestamp

3 views (last 30 days)
Ancalagon8
Ancalagon8 on 15 Mar 2020
Edited: Ancalagon8 on 6 Jan 2025
i want to plot some data with timestamp. Timestamp is string and my data are vector. Any help?
  1 Comment
Mohammad Sami
Mohammad Sami on 16 Mar 2020
You can convert your timestamps to either datetime variable or to datenum. See documentation for how to set the format string.

Sign in to comment.

Answers (1)

Jakob B. Nielsen
Jakob B. Nielsen on 16 Mar 2020
Take a look at the datetick function.

Categories

Find more on Holidays / Seasons in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!