summaryrefslogtreecommitdiff
path: root/graphics/pgf/contrib/pgf-pie/color.tex
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/pgf/contrib/pgf-pie/color.tex')
-rw-r--r--graphics/pgf/contrib/pgf-pie/color.tex6
1 files changed, 6 insertions, 0 deletions
diff --git a/graphics/pgf/contrib/pgf-pie/color.tex b/graphics/pgf/contrib/pgf-pie/color.tex
new file mode 100644
index 0000000000..cb79b8c0ef
--- /dev/null
+++ b/graphics/pgf/contrib/pgf-pie/color.tex
@@ -0,0 +1,6 @@
+\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}