MATLAB Answers

DOES ANYONE KNOW HOW CAN INSERT AND PLOT THIS DATA AS POINTS?

1 view (last 30 days)
Pul
Pul on 21 Jul 2021
Commented: Pul on 23 Jul 2021
Hello everyone,
when I go to plot the column 11 of the table "Data" any point appears in my graph.
Data of column 11 should be related to their years as in the table.
plot(T.Year(:,1),[NEW, T.Var4(:,1) DATA.SMB_mp_mm(:,1)],'g');
Could anyone help me kindly?
Thank you!

Accepted Answer

Walter Roberson
Walter Roberson on 21 Jul 2021
You need
plot(T.Year(:,1),[NEW, T.Var4(:,1) DATIMARannuali.SMB_mp_mm(:,1)],'g');
However, your other variables have 7721 rows, but SMB_mp_mm only has 40 rows, so it is not clear what you would want to plot.
  3 Comments

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!