Borrar filtros
Borrar filtros

how to write a axis in hours format

2 visualizaciones (últimos 30 días)
Ibrahim AlZoubi
Ibrahim AlZoubi el 3 de Mayo de 2020
Respondida: Image Analyst el 3 de Mayo de 2020
How can I change the x axis to hourse format?
ex: 1:00 and 12:00

Respuestas (2)

Ajay Kumar
Ajay Kumar el 3 de Mayo de 2020
Again it resembles the same question you asked, which already has the answer.

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

Categorías

Más información sobre Dates and Time en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by