Borrar filtros
Borrar filtros

plotting: x-axis datenum to datestr

24 visualizaciones (últimos 30 días)
crispin Donnelly
crispin Donnelly el 11 de Feb. de 2011
Hi
How do I get an axis, currently displaying datenums to display real dates?
Thanks in advance! Crispin - Matlab Novice

Respuestas (1)

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

Categorías

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

Community Treasure Hunt

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

Start Hunting!

Translated by