Help plotting a multivar table

2 views (last 30 days)
Luca RATTI
Luca RATTI on 7 Mar 2022
Commented: Luca RATTI on 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.

Accepted Answer

Peter Perkins
Peter Perkins on 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)

More Answers (0)

Categories

Find more on Line Plots in Help Center and File Exchange

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!