how to write a axis in hours format

3 vues (au cours des 30 derniers jours)
Ibrahim AlZoubi
Ibrahim AlZoubi le 3 Mai 2020
How can I change the x axis to hourse format?
ex: 1:00 and 12:00

Réponses (2)

Ajay Kumar
Ajay Kumar le 3 Mai 2020
Again it resembles the same question you asked, which already has the answer.

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

Catégories

En savoir plus sur Dates and Time dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by