Read column of dates from Excel chart and plot them as x axis

1 次查看(过去 30 天)
How can I read date from excel chart and plot them in the x axis (column a - dates, column b- values)?
tnx

回答(1 个)

KSSV
KSSV 2017-1-3
You have to use xlsread to load the data into matlab from excel file. Then plot the data and use xtick or datetick to label x-axes with dates.
Read about xlaread, datetick, xtick.

类别

Help CenterFile Exchange 中查找有关 Calendar 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by