image thumbnail

donut

version 1.0.0.0 (13 KB) by Eric
Generates donut plots or standard pie charts with explicit color definitions

773 Downloads

Updated 04 May 2017

From GitHub

View license on GitHub

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 (2022). donut (https://github.com/ericspivey/donut), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2014b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
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.