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

Donut creates a donut chart with offset slices and custom labels.

You are now following this Submission

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 (2026). 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 .

Tags

Add Tags

Add the first tag.

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.2

Fix some bugs

1.0.1

Fix some bugs.

1.0.0