create a pie chart knowing the percentage value
Show older comments
I have the matrix 'matrix' characterized by the first column by numbers and the second column by percentage values.
matrix = [78,5 ; 79,6 ; 80,7 ; 81,11 ; 82,13 ; 83,15 ; 84,18 ; 85,16 ; 86,7 ; 87,1 ; 88,1];
I would like to create a pie chart that only takes into account percentage values <7.
So the matrix to be considered to create the pie chart would be 'matrix_new':
matrix_new = [78,5 ; 79,6 ; 87,1 ; 88,1];
How can I create the pie chart taking into account percentage values?
I should get something like this:

1 Comment
Voss
on 2 Sep 2023
Maybe you can adapt the code from my answer to your previous question:
Accepted Answer
More Answers (0)
Categories
Find more on Pie Charts 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!

