Effacer les filtres
Effacer les filtres

plotting: x-axis datenum to datestr

24 vues (au cours des 30 derniers jours)
crispin Donnelly
crispin Donnelly le 11 Fév 2011
Hi
How do I get an axis, currently displaying datenums to display real dates?
Thanks in advance! Crispin - Matlab Novice

Réponses (1)

Matt Tearle
Matt Tearle le 11 Fév 2011
datetick('x','dd/mmm/yy')
Or whatever format you want in the second argument (leave it off & MATLAB will pick one for you)

Catégories

En savoir plus sur Dates and Time dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by