how to write a axis in hours format

7 views (last 30 days)
Ibrahim AlZoubi
Ibrahim AlZoubi on 3 May 2020
Answered: Image Analyst on 3 May 2020
How can I change the x axis to hourse format?
ex: 1:00 and 12:00

Answers (2)

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

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

Tags

Community Treasure Hunt

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

Start Hunting!