how to write a axis in hours format

조회 수: 1 (최근 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 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