HOW TO PLOT AN ECONOMIC SERIES

1 view (last 30 days)
Houda
Houda on 20 Nov 2015
Commented: Houda on 20 Nov 2015
Hi everybody, please I have the dataset on excel and I want to plot variables, I did not find how? I attached my dataset. thanks
  1 Comment
Adam
Adam on 20 Nov 2015
You didn't attach anything.
doc xlswrite
is usually used to read excel data in.

Sign in to comment.

Accepted Answer

Thorsten
Thorsten on 20 Nov 2015
X = xlsread('../../Downloads/mexico_data_1900_2005.xls');
plot(X(:,1), X(:,2:end))
  2 Comments
Houda
Houda on 20 Nov 2015
how if we want to make four subplots and also having the years at the X axis?

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!