Pie
Hereafter are presented the available specific options for pie charts in mathlayer®.
Pie options
Options | Description | Values | Default Values |
categorical | Sets the slices corresponding to categories. | true or false. | false |
pieVal | Sets whether the slices percentage is shown or not and its position. | 'out', 'in', 'none'. | 'out' |
explode | Sets which slice will be slightly moved. | Row vector of 1 and 0. | empty |
options = struct% initializing options struct
options.categorical = true options.pieVal = 'in' options.explode = [0,0,1,0,0,1,0,0,1,0] x = randn(1000, 1) pie(x,options)