how to write a axis in hours format

2 ビュー (過去 30 日間)
Ibrahim AlZoubi
Ibrahim AlZoubi 2020 年 5 月 3 日
回答済み: Image Analyst 2020 年 5 月 3 日
How can I change the x axis to hourse format?
ex: 1:00 and 12:00

回答 (2 件)

Ajay Kumar
Ajay Kumar 2020 年 5 月 3 日
Again it resembles the same question you asked, which already has the answer.

Image Analyst
Image Analyst 2020 年 5 月 3 日
I believe it would be something like this:
% Make x axis be times.
datetick('x', 'HH:MM PM', 'keepticks');

カテゴリ

Help Center および File ExchangeDates and Time についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by