MATLAB Answers

Excel Date column Plot in Matlab

1 view (last 30 days)
Isa Isa
Isa Isa on 15 Mar 2013
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

Answers (1)

owr
owr on 15 Mar 2013
look up datenum and datetick

Community Treasure Hunt

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

Start Hunting!

Translated by