how to write a axis in hours format

3 visualizzazioni (ultimi 30 giorni)
Ibrahim AlZoubi
Ibrahim AlZoubi il 3 Mag 2020
Risposto: Image Analyst il 3 Mag 2020
How can I change the x axis to hourse format?
ex: 1:00 and 12:00

Risposte (2)

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

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

Categorie

Scopri di più su Dates and Time in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by