HOW TO PLOT AN ECONOMIC SERIES

2 visualizaciones (últimos 30 días)
Houda
Houda el 20 de Nov. de 2015
Comentada: Houda el 20 de Nov. de 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 comentario
Adam
Adam el 20 de Nov. de 2015
You didn't attach anything.
doc xlswrite
is usually used to read excel data in.

Iniciar sesión para comentar.

Respuesta aceptada

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

Iniciar sesión para comentar.

Más respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by