donut - easily create a donut char​t using pie syntax

version 1.0.2 (1.89 KB) by Yang Liu
Donut creates a donut chart with offset slices and custom labels.

18 Downloads

Updated 1 May 2022

View License

The pie chart in Matlab could not be plotted in a donut style (with an area of the center cut out). This function creates a donut chart by changing patch vertices of the pie chart. Thus, it maintains all the syntax and editable properties (offsets slices and specifies the text labels) of pie function. It could be used to display proportions or cyclic colormaps.

Cite As

Yang Liu (2022). donut - easily create a donut chart using pie syntax (https://www.mathworks.com/matlabcentral/fileexchange/110325-donut-easily-create-a-donut-chart-using-pie-syntax), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2016a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!