donut3

Creates a 3-D donut chart with offset slices and custom labels using pie3 syntax and removing vertical edge lines in the same slice.

You are now following this Submission

The pie3 chart in Matlab could not be plotted in a donut style (with an area of the center cut out). This function creates a 3-D donut chart by changing patch and surface vertices of the pie3 chart. Thus, it maintains all the syntax and editable properties (offsets slices and specifies the text labels) of pie3 function. It could be used to display 3-D proportions or cyclic colormaps. The ring width of the donut is adjustable so you will get a pie3 chart if set the ring width as 1. In addition, vertical edge lines in the same slice are removed.

Cite As

Yang Liu (2026). donut3 (https://www.mathworks.com/matlabcentral/fileexchange/111025-donut3), 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.1

Removing vertical edge lines in the same slice.

1.0.0