Skip to content

donut

2D donut chart.

h = donut(values, ...)

Renders the pie chart with a hollow center — same data semantics as pie but visually distinct. Optional name-value pairs control the inner-radius and slice properties.

MathJet-specific (not in MATLAB).

donut([30 40 30], 'Labels', {'A','B','C'})
  • donut3 — 3D donut chart.
  • pie — Pie chart.