Professional Documents
Culture Documents
Diagram Lingkaran
Diagram Lingkaran
23 Juli 2017
20%
Padi Jagung
10%
\begin{tikzpicture}
30%
\pie{10/Jagung, 20/Kedelai, 30/Padi, 40/Kacang tanah}
\end{tikzpicture}
40%
Kacang tanah
1
20%
40% 20%
10%
30% 30% 10%
10% 30%
40%
40%
20%
Pewarnaan
\begin{tikzpicture}
\pie[color={black!10, black!20,black!30,black!40}]
{10/A, 20/B, 30/C, 40/ D}
\pie[pos={8,0}, color=blue!20] {10/A, 20/B, 30/C, 40/ D}
\end{tikzpicture}
B B
20% 20%
C A C A
10% 10%
30% 30%
40% 40%
D D
Perenggangan
\begin{tikzpicture}
% perenggangan tertentu
\pie[explode={0, 0, 0, 0.1}]{10/A, 20/B, 30/C, 40/D}
% perenggangan semua
\pie[pos={8,0}, explode=0.1]{10/A, 20/B, 30/C, 40/D}
\end{tikzpicture}
2
B
B
20% 20%
C A C A
10% 10%
30% 30%
40% 40%
D D
Pria Pria
33 33
Wanita
3
B B
Rp20rb 20%
C A C A
Rp10rb 10%
Rp30rb 30%
Rp40rb 40%
D D
B
20%
20%
C A
A
10% C
30% 10%
30%
D
40%
40%
4
20%
Satu
10%
30% Dua
Tiga
Empat
40%
Bayangan (Shadow )
\begin{tikzpicture}
% dengan \usetikzlibrary{shadows}
\pie[style=drop shadow]{10/A, 20/B, 30/C, 40/D}
\end{tikzpicture}
20%
C A
10%
30%
40%
5
B
A
20%
10%
30% 40%
C
D
A C
30% 40% D
10%
20% B
6
B
20% D
40%
A
10%
C
30%