donut3

version 1.0.1 (2.12 KB) by Yang Liu
Creates a 3-D donut chart with offset slices and custom labels using pie3 syntax and removing vertical edge lines in the same slice.

14 Downloads

Updated 22 Jun 2022

View License

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 (2022). donut3 (https://www.mathworks.com/matlabcentral/fileexchange/111025-donut3), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2016b
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!