diff options
author | Xu Yuan <xu@informatik.hu-berlin.de> | 2011-10-01 11:18:17 +0200 |
---|---|---|
committer | Xu Yuan <xu@informatik.hu-berlin.de> | 2011-10-01 11:18:17 +0200 |
commit | 4c987c9343754c20bf78fa500bafb31931ca78af (patch) | |
tree | fdca6bbdac7b4459d2971e3f39da19f51f980952 | |
parent | 52a3efdc9c7d9dee62935099e0cd77e45d91f90c (diff) | |
download | pgf-pie-4c987c9343754c20bf78fa500bafb31931ca78af.tar.gz pgf-pie-4c987c9343754c20bf78fa500bafb31931ca78af.tar.bz2 pgf-pie-4c987c9343754c20bf78fa500bafb31931ca78af.zip |
first pie
-rw-r--r-- | dev/demo/first-pie.tex (renamed from dev/demo/pie.tex) | 2 | ||||
-rw-r--r-- | dev/pgf-pie-manual.tex | 4 | ||||
-rw-r--r-- | dev/pgf-pie.sty | 2 |
3 files changed, 5 insertions, 3 deletions
diff --git a/dev/demo/pie.tex b/dev/demo/first-pie.tex index 3589bbf..1f99130 100644 --- a/dev/demo/pie.tex +++ b/dev/demo/first-pie.tex @@ -1,3 +1,3 @@ \begin{tikzpicture} - \pie{20/, 4/, 11/, 49/, 16/} + \pie{10/A, 20/B, 30/C, 40/D} \end{tikzpicture} diff --git a/dev/pgf-pie-manual.tex b/dev/pgf-pie-manual.tex index 2b53e2a..caccf52 100644 --- a/dev/pgf-pie-manual.tex +++ b/dev/pgf-pie-manual.tex @@ -80,10 +80,12 @@ keywordstyle=\color{blue} \section{The Essentials} +\subsection{First Pie} +\demo[0.6]{first-pie} \section{Examples} -\demo[0.6]{pie} + % \pie{20/, 4/, 11/, 49/, 16/} diff --git a/dev/pgf-pie.sty b/dev/pgf-pie.sty index fe7e2e3..84e543e 100644 --- a/dev/pgf-pie.sty +++ b/dev/pgf-pie.sty @@ -26,7 +26,7 @@ chart by using PGF/Tikz package.] \let\midangle\pgfmathresult % slice - \draw[thick,fill=#6, drop shadow] (\midangle:#5) -- ++(#1:#7) arc (#1:#2:#7) -- cycle; + \draw[thick,fill=#6] (\midangle:#5) -- ++(#1:#7) arc (#1:#2:#7) -- cycle; % outer label \node[label=\midangle:#4] at (\midangle:#7) {}; |