plotting: x-axis datenum to datestr

Hi
How do I get an axis, currently displaying datenums to display real dates?
Thanks in advance! Crispin - Matlab Novice

回答 (1 件)

Matt Tearle
Matt Tearle 2011 年 2 月 11 日

0 投票

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

カテゴリ

ヘルプ センター および File ExchangeDates and Time についてさらに検索

質問済み:

2011 年 2 月 11 日

Community Treasure Hunt

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

Start Hunting!

Translated by