Excel Date column Plot in Matlab

1 次查看(过去 30 天)
Isa Isa
Isa Isa 2013-3-15
Hi,
I have some data in excel and one of the column contains date as shown below Date 01-JUL-2014 01-AUG-2014 01-SEP-2014 01-OCT-2014 01-NOV-2014 01-DEC-2014 01-JAN-2015 01-FEB-2015 01-MAR-2015 01-APR-2015 01-MAY-2015 01-JUN-2015 01-JUL-2015 I have another column y 529458 609268.6 687428.9 762259.6 836145.1 902038.9 961088.8 1014825 1060257 1107771 1151451 1194406 1234116 I want to plot Date against y and want Date to appear on x axis as shown above.
Thanks Isa

回答(1 个)

owr
owr 2013-3-15
look up datenum and datetick

类别

Help CenterFile Exchange 中查找有关 Dates and Time 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by