how to write a axis in hours format

1 次查看(过去 30 天)
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 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