How I can plot time on x axis with a interval of 2hrs from 0 to 24hrs
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi.
I have a 10600 timestamp data in the form of 2015 - 01 -19T12:55:18Z which I need to plot aginst vertical total electron content. How can I remove T and Z and howI can plot time on x axis with a interval of 2hrs from 0 to 24hrs against vertical total electron content. Im very new to matlab software and Im doing a masters program to do my data analysis. Any help and suggestion will be highly appriciated.
댓글 수: 0
채택된 답변
Walter Roberson
2021년 9월 30일
TS = {'2015 - 01 -19T12:55:18Z', '2015 - 01 -19T23:17:29Z', }
t = datetime(TS, 'inputformat', "yyyy - MM -dd'T'HH:mm:ss'Z'", 'TimeZone', 'GMT')
plot(t, [1 2])
댓글 수: 14
Walter Roberson
2021년 10월 1일
Monthly... so each plot should have between 28*12 = 296 and 31*12 = 334 hour ticks ? So barely possible to make out at anything less than 1500 pixels wide ?
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Discrete Data Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!