comparison scripts/plot/draw/pie3.m @ 19630:0e1f5a750d00

maint: Periodic merge of gui-release to default.
author John W. Eaton <jwe@octave.org>
date Tue, 20 Jan 2015 10:24:46 -0500
parents 9ac2357f19bc 446c46af4b42
children 4197fc428c7d
comparison
equal deleted inserted replaced
19626:37d37297acf8 19630:0e1f5a750d00
26 ## Plot a 3-D pie chart. 26 ## Plot a 3-D pie chart.
27 ## 27 ##
28 ## Called with a single vector argument, produces a 3-D pie chart of the 28 ## Called with a single vector argument, produces a 3-D pie chart of the
29 ## elements in @var{x}. The size of the ith slice is the percentage that the 29 ## elements in @var{x}. The size of the ith slice is the percentage that the
30 ## element @var{x}i represents of the total sum of @var{x}: 30 ## element @var{x}i represents of the total sum of @var{x}:
31 ## @code{pct = @var{x}(i) / sum (@var{x})}. 31 ## @code{pct = @var{x}(i) / sum (@var{x})}.
32 ## 32 ##
33 ## The optional input @var{explode} is a vector of the same length as @var{x} 33 ## The optional input @var{explode} is a vector of the same length as @var{x}
34 ## that, if nonzero, "explodes" the slice from the pie chart. 34 ## that, if nonzero, "explodes" the slice from the pie chart.
35 ## 35 ##
36 ## The optional input @var{labels} is a cell array of strings of the same 36 ## The optional input @var{labels} is a cell array of strings of the same