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

1 回表示 (過去 30 日間)
Tsvi Weiss
Tsvi Weiss 2017 年 1 月 2 日
回答済み: KSSV 2017 年 1 月 3 日
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 Center および File ExchangeBar Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by