Data visualization using a matlab figure/graph
Show older comments
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
Accepted Answer
More Answers (0)
Categories
Find more on Install Products in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!