Azzera filtri
Azzera filtri

How to set the time and date for y-axis

1 visualizzazione (ultimi 30 giorni)
Khairul Afifi
Khairul Afifi il 14 Feb 2015
Risposto: Star Strider il 14 Feb 2015
Greetings,
I'am still learning in Matlab. I wish to ask a question on how I can set the day, hour, minute and second with computer languange program in MATLAB. I learned how to use for example set(gca,'Xtick',[0 180 360 540 720 900 1080 1260]); set(gca,'Xticklabel',[00 03 06 09 12 15 18 21]);. I wish to learn on how to set the date and time using for example datenum or other example. Below is the length of the data which is 1440 row and 1 column. I hope to plot the date and time for the data. I hope we can share knowledge. Thank you.

Risposte (1)

Star Strider
Star Strider il 14 Feb 2015
See the datetick function.

Categorie

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

Community Treasure Hunt

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

Start Hunting!

Translated by