create a pie chart knowing the percentage value
Mostrar comentarios más antiguos
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 comentario
Voss
el 2 de Sept. de 2023
Maybe you can adapt the code from my answer to your previous question:
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Pie Charts en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


