Azzera filtri
Azzera filtri

plotting: x-axis datenum to datestr

24 visualizzazioni (ultimi 30 giorni)
crispin Donnelly
crispin Donnelly il 11 Feb 2011
Hi
How do I get an axis, currently displaying datenums to display real dates?
Thanks in advance! Crispin - Matlab Novice

Risposte (1)

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

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