Help plotting a multivar table

1 vue (au cours des 30 derniers jours)
Luca RATTI
Luca RATTI le 7 Mar 2022
Commenté : Luca RATTI le 11 Mar 2022
Hi, I have the 505x9 table in the picture (I uploaded the file) and I would like to plot the variable named "PILMilioniDiEuro" by Year (first variable named "Anno") and EUCode (second variable named "CodiceEu).
I tried using plot3 and parallelplot functions. Can someone help me? Thanks a lot.

Réponse acceptée

Peter Perkins
Peter Perkins le 9 Mar 2022
There are many good reasons to put data into a table, but plot3 does not yet accept a table as input. This will make the plot:
plot3(t.Anno,t.CodiceEu,t.PILMilioniDiEuro)
  1 commentaire
Luca RATTI
Luca RATTI le 11 Mar 2022
Thanks, I did it!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Produits


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by