<< barly Plotly plotly >>

Plotly >> Plotly > piely

piely

Short description

Syntax

piely(x,txt)

Arguments

x

Values

txt

Labels

Description

piely(x,txt): the txt vector allows to write a text for each part of the pie, the ith component of txt corresponds to the ith part (default : it's written the percentages which corresponds to the parts surface). The size of txt must be equal to N.

if size of x is N then pie function draws a pie with N parts, the area of the ith part is equal to (x(i)/sum(x))*( surface of the unit circle).

Examples

piely([3 4 6 2],["part1","part2","part3","part4"]);

See also


Report an issue
<< barly Plotly plotly >>