donut
Version 1.0.0.0 (13 KB) by
Eric
Generates donut plots or standard pie charts with explicit color definitions
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 .
MATLAB Release Compatibility
Created with
R2014b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Pie Charts in Help Center and MATLAB Answers
Tags
Acknowledgements
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 |
|
To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.
