Data visualization using a matlab figure/graph
Ältere Kommentare anzeigen
Hi everyone,
im struggling with visualizing my data in a matlab figure.
Imagin i'm having three collumns.
- Label (Label 1, Label 2, Label 3)
- Attribute (A1, A2, A3, A4)
- Number of Observations
Label 1 A1 3
Label 1 A2 6
Label 2 A2 4
Label 2 A3 8
Label 3 A1 9
Now I want to make a graph out of this where I have the labels on the x-axis, the number of observations on the y-axis. Then in the graph it should be seen how often each attribute was oberserved for each attibute. And then the attributes should be stacked onto each other (differentiated by colour).
I can do this in Excel (see attached image), but I was wondering whether this kind ob visualization is also possible in MATLAB.

Thank you so much in advance.
Julian
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Install Products finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!