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 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