donut
So donut plots are not the preferred way to display proportional data, but sometimes you need their compactness. This is a simple 2-D donut plot that can be used to display 'n' categories of data in 'm' datasets when given an n x m matrix of values. Also, if the option is selected, the plot can be collapsed to a standard 2-D pie chart. With both donut and pie charts, you can explicitly define the category colors, which cannot be done in the MATLAB "pie" function.
Cite As
Eric (2024). donut (https://github.com/ericspivey/donut), GitHub. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Versions that use the GitHub default branch cannot be downloaded
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 | Added example image |
|