Generates donut plots or standard pie charts with explicit color definitions
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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 (2026). donut (https://github.com/ericspivey/donut), GitHub. Retrieved .
Acknowledgements
General Information
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
Versions that use the GitHub default branch cannot be downloaded
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 | Added example image |
