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!