Skip to content

pie3

plot · scripts/plot/draw/pie3.m

: pie3 (x)
: pie3 (x, explode)
: pie3 (x, labels)
: pie3 (x, explode, labels)
: pie3 (ax, …)
: h = pie3 (…)

Draw a three-dimensional pie chart.

The arguments and the slice layout are those of pie. Every slice is drawn as a solid disc sector with a top patch, a side surface and a bottom patch, followed by its text label.

The return value is a column vector with four handles per slice, in the order top patch, side surface, bottom patch, text.