how to write a axis in hours format
2 ビュー (過去 30 日間)
古いコメントを表示
How can I change the x axis to hourse format?
ex: 1:00 and 12:00
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/289941/image.png)
0 件のコメント
回答 (2 件)
Ajay Kumar
2020 年 5 月 3 日
Again it resembles the same question you asked, which already has the answer.
0 件のコメント
Image Analyst
2020 年 5 月 3 日
I believe it would be something like this:
% Make x axis be times.
datetick('x', 'HH:MM PM', 'keepticks');
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Dates and Time についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!